|
|
|
@ -28,15 +28,21 @@ There are two ways for setting up a SSL connection:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2) CryptoBox behind stunnel |
|
|
|
|
If you do not have an ssl certificate yet, then you should create it first. |
|
|
|
|
Please take a look into the "start_stunnel.sh" script. You may use it |
|
|
|
|
to create a certificate and dig a tunnel. |
|
|
|
|
You may want to tunnenl the traffic between the cryptobox-server |
|
|
|
|
and your browser. "stunnel" is an excellent candidate for this job. |
|
|
|
|
|
|
|
|
|
If you do not have an ssl certificate yet, then you should create |
|
|
|
|
one first. On Debian: "apt-get install ssl-cert" and run the following |
|
|
|
|
command (replace the <NAMES>; a default CERT_CONF is shipped with the cryptobox-server |
|
|
|
|
package): |
|
|
|
|
|
|
|
|
|
make-ssl-cert <CERT_CONF> <CERT_FILE_NAME> |
|
|
|
|
|
|
|
|
|
In case, that you already have a certificate just run this command: |
|
|
|
|
|
|
|
|
|
stunnel -p "$YOUR_CERT_FILE" -r localhost:80 -d 443 |
|
|
|
|
stunnel -p <CERT_FILE_NAME> -r localhost:80 -d 443 |
|
|
|
|
|
|
|
|
|
Maybe you should add this to your bootup scripts. |
|
|
|
|
And maybe you want to add the last command to your bootup scripts. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3) Problems with SSL detection? |
|
|
|
|