<p>For using SSL with Bitcoin follow these instructions: <a href="https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon" rel="nofollow">https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon</a></p>

<p>Maybe your RPC Connection String have connection type "HTTP"</p>

<pre><code>connection-type = "http" 
</code></pre>

<p>Change <code>http</code> to <code>https</code></p>

CC BY-SA 3.0
2014-07-17T08:32:37.233Z
where to change http to https in P2Pool? I couldn't find this option in P2Pool's run_p2pool.py arguments.
DISSIDIA-嘎嘎
CC BY-SA 3.0
2014-07-16T13:32:01.110Z
2014-07-16T14:02:10.573Z
2014-07-16T14:02:10.573Z
user3392193
<p>Now I have installed bitcoin with config <code>rpcssl=1</code>, and I have tested the connection with a java application. Everything seemed OK.</p>

<p>Then I installed p2pool, and tried to connect to bitcoind (python2.7 run_p2pool.py), and I was faced with the following errors:</p>

<pre><code>Testing bitcoind RPC connection to 'http://127.0.0.X:8332/' with username 'pool'...
2014-07-16 15:29:25.036426 &gt; Error while checking Bitcoin connection:
2014-07-16 15:29:25.036567 &gt; Traceback (most recent call last):
2014-07-16 15:29:25.036770 &gt; Failure: twisted.internet.error.ConnectionDone: Connection was closed cleanly.
</code></pre>

<p>Then I modified the bitcoin.conf and erased the <code>rpcssl=1</code> item, restarted bitcoind. Then I run the command, connecting to bitcoind successfully.</p>

<p>So I wonder how to config p2pool so that it can connect to bitcoind with HTTPS?</p>

<bitcoind><p2pool>
how to config p2pool so that it can connect to bitcoind wiht HTTPS?
DISSIDIA-嘎嘎
# how to config p2pool so that it can connect to bitcoind wiht HTTPS?

(Asked by: username_0 on 2014-07-16)

Now I have installed bitcoin with config `rpcssl=1`, and I have tested the connection with a java application. Everything seemed OK.

Then I installed p2pool, and tried to connect to bitcoind (python2.7 run\_p2pool.py), and I was faced with the following errors:

```
Testing bitcoind RPC connection to 'http://127.0.0.X:8332/' with username 'pool'...
2014-07-16 15:29:25.036426 > Error while checking Bitcoin connection:
2014-07-16 15:29:25.036567 > Traceback (most recent call last):
2014-07-16 15:29:25.036770 > Failure: twisted.internet.error.ConnectionDone: Connection was closed cleanly.

```

Then I modified the bitcoin.conf and erased the `rpcssl=1` item, restarted bitcoind. Then I run the command, connecting to bitcoind successfully.

So I wonder how to config p2pool so that it can connect to bitcoind with HTTPS?

**Tags:** bitcoind, p2pool


---

## 1 answers

### Answer by username_1 on 2014-07-16. Score: 1

For using SSL with Bitcoin follow these instructions: <https://en.bitcoin.it/wiki/Enabling_SSL_on_original_client_daemon>

Maybe your RPC Connection String have connection type "HTTP"

```
connection-type = "http" 

```

Change `http` to `https`

> **Comments:**
> **username_0**: where to change http to https in P2Pool? I couldn't find this option in P2Pool's run_p2pool.py arguments.  

---

