<p>After looking at the (quite old) source code of poclbm, there is a commented line that creates the SSL connection. Not sure it is the reason but I guess it doesn't support HTTPS in its last version.
I changed to DiabloMiner (I had to add my self-signed certificate using the <a href="http://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java" rel="nofollow">InstallCert.java</a> tool)</p>

<p>I can now mine over HTTPS. Next step is a pool...</p>

CC BY-SA 3.0
2013-09-10T17:08:06.563Z
2013-09-10T17:08:06.563Z
JScoobyCed
<p>So I have setup <code>bitcoind -daemon</code> on a server. On plain HTTP, I can connect to the server from my machine and start mining with <code>poclbm.py</code> (at a slow rate but I am preparing my environment before upgrading H/W)</p>

<p>Then I have created the self-signed certificate successfully, and from a remote machine I can get the SSL certificate validation using <code>openssl s_client</code> command. I had trouble with the <code>openssl s_client</code> command when not including the</p>

<pre><code>rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH
</code></pre>

<p>part in the conf, but after adding it it as ok.</p>

<p>Then added option <code>rpcssl=1</code> in bitcoin.conf.</p>

<p>Now I get a <code>Failure to subscribe</code> followed by <code>IO errors - 1, tolerance 2</code>.</p>

<p>Is there anything else to check? Running <code>poclbm</code> with <code>-verbose</code> doesn't show more output.</p>

<ubuntu><poclbm>
"Failed to subscribe" - poclbm over SSL - Ubuntu
JScoobyCed
# "Failed to subscribe" - poclbm over SSL - Ubuntu

(Asked by: username_0 on 2013-09-09)

So I have setup `bitcoind -daemon` on a server. On plain HTTP, I can connect to the server from my machine and start mining with `poclbm.py` (at a slow rate but I am preparing my environment before upgrading H/W)

Then I have created the self-signed certificate successfully, and from a remote machine I can get the SSL certificate validation using `openssl s_client` command. I had trouble with the `openssl s_client` command when not including the

```
rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH

```

part in the conf, but after adding it it as ok.

Then added option `rpcssl=1` in bitcoin.conf.

Now I get a `Failure to subscribe` followed by `IO errors - 1, tolerance 2`.

Is there anything else to check? Running `poclbm` with `-verbose` doesn't show more output.

**Tags:** ubuntu, poclbm


---

## 1 answers

### Answer by username_0 on 2013-09-10. Score: 1

After looking at the (quite old) source code of poclbm, there is a commented line that creates the SSL connection. Not sure it is the reason but I guess it doesn't support HTTPS in its last version.
I changed to DiabloMiner (I had to add my self-signed certificate using the [InstallCert.java](http://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java) tool)

I can now mine over HTTPS. Next step is a pool...


---

