<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged rpcssl</title>
<link>https://www.multichain.com/qa/tag/rpcssl</link>
<description>Powered by Question2Answer</description>
<item>
<title>Certificate not found should result in error</title>
<link>https://www.multichain.com/qa/11137/certificate-not-found-should-result-in-error</link>
<description>Hi.&lt;br /&gt;
&lt;br /&gt;
I think it would be a good idea to exit multichaind and throw an error if you provide parameters for certificate and private key but multichaind cannot find / open the files.&lt;br /&gt;
&lt;br /&gt;
For now, MultiChain starts up as normal and you will only realize the problem when explicitely looking into debug.log for a line like:&lt;br /&gt;
&lt;br /&gt;
2018-09-20 07:31:43 ThreadRPCServer ERROR: missing server certificate file /home/mc/cert.pem&lt;br /&gt;
2018-09-20 07:31:43 ThreadRPCServer ERROR: missing server private key file /home/mc/key.pem&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Greetings,&lt;br /&gt;
&lt;br /&gt;
Alex</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11137/certificate-not-found-should-result-in-error</guid>
<pubDate>Thu, 20 Sep 2018 07:38:00 +0000</pubDate>
</item>
<item>
<title>rpckeepalive: performance drops vs port freeze</title>
<link>https://www.multichain.com/qa/8948/rpckeepalive-performance-drops-vs-port-freeze</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
is there any news on the rpc freeze problem?&lt;br /&gt;
&lt;a href=&quot;https://www.multichain.com/qa/7006/node-rpc-completely-freezes-rpcssl?show=7178#a7178&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/qa/7006/node-rpc-completely-freezes-rpcssl?show=7178#a7178&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
What I still experience (v1.0.4):&lt;br /&gt;
Everything works fine using rpckeepalive=0 but there is another problem:&lt;br /&gt;
&lt;br /&gt;
The performance (tx/s) decreases a lot when using rpckeepalive=0&lt;br /&gt;
I only get ~ 100 tx/s throughput when using rpckeepalive=0 (and rpcssl).&lt;br /&gt;
&lt;br /&gt;
If I enable rpckeepalive I get ~800 tx/s (!)&lt;br /&gt;
But still the rpc api freezes after some time.&lt;br /&gt;
&lt;br /&gt;
I think the problem only appears when using it together with rpcssl because every new requests has to open a new connection and has to do the ssl handshake all over again.&lt;br /&gt;
&lt;br /&gt;
So:&lt;br /&gt;
keepalive=0 has a really bad performance (at least when using rpcssl?)&lt;br /&gt;
keepalive=1 freezes the node on high load after no more than 30 seconds.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8948/rpckeepalive-performance-drops-vs-port-freeze</guid>
<pubDate>Wed, 14 Mar 2018 09:20:58 +0000</pubDate>
</item>
<item>
<title>How can i use rpcssl??</title>
<link>https://www.multichain.com/qa/8380/how-can-i-use-rpcssl</link>
<description>Hello multichain developers~&lt;br /&gt;
&lt;br /&gt;
I have questions because I have difficulty using rpcssl.&lt;br /&gt;
&lt;br /&gt;
Below is my multichain.conf.&lt;br /&gt;
&lt;br /&gt;
-----------------multichain.conf-----------------&lt;br /&gt;
rpcuser=multichainrpc&lt;br /&gt;
rpcpassword=88888888&lt;br /&gt;
rpcport=4443&lt;br /&gt;
rpcallowip=192.168.0.0/24&lt;br /&gt;
rpcssl=1&lt;br /&gt;
rpcsslcertificatechainfile=server.cert&lt;br /&gt;
rpcsslprivatekeyfile=server.pem&lt;br /&gt;
rpcsslciphers=TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH&lt;br /&gt;
server=1&lt;br /&gt;
-------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
And then ran multichain through $ multichaind test -daemon.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
If i enter &lt;br /&gt;
&lt;br /&gt;
$ multichain-cli test getinfo, &lt;br /&gt;
&lt;br /&gt;
I get a response: &lt;br /&gt;
&lt;br /&gt;
error: no response from server.&lt;br /&gt;
&lt;br /&gt;
Also, if i enter &lt;br /&gt;
&lt;br /&gt;
$ curl --user multichainrpc --data-binary '{&amp;quot;jsonrpc&amp;quot;: &amp;quot;1.0&amp;quot;, &amp;quot;id&amp;quot;:&amp;quot;curltest&amp;quot;, &amp;quot;method&amp;quot;: &amp;quot;getinfo&amp;quot;, &amp;quot;params&amp;quot;: [] }' -H 'content-type: text/plain;' https://192.168.0.125:4443/&lt;br /&gt;
&lt;br /&gt;
I get a response:&lt;br /&gt;
&lt;br /&gt;
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The above settings are all.&lt;br /&gt;
&lt;br /&gt;
How can i use rpcssl?? TT</description>
<guid isPermaLink="true">https://www.multichain.com/qa/8380/how-can-i-use-rpcssl</guid>
<pubDate>Mon, 29 Jan 2018 09:01:29 +0000</pubDate>
</item>
</channel>
</rss>