Stratehm / stratum-proxy

Java implementation of a stratum->stratum/HTTPGetwork proxy with a Web GUI and some pool switching strategies (PriorityFailover, WeightedRoundRobin). Simple to install and configure.
GNU General Public License v3.0
198 stars 118 forks source link

SSL #61

Closed crypt0jan closed 8 years ago

crypt0jan commented 9 years ago

Hi,

I like the SSL option. Is it possible to use my own domain related SSL certificate and use port 443 if ssl is enabled?

Thanks!

Stratehm commented 9 years ago

I never tried but it should be possible.

You will have to replace the keystore generated by the proxy by a new one with the following constraints: -The keystore has to be in JKS format (you can use the keytool utility available with the java JRE to convert your certificate and store it in the keystore, for example https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html) -be located in the database directory -be named stratum-proxy-keystore.jks -the alias of your certificate in the keystore as to be stratum-proxy -the keystore password has to be stratum-proxy