Configure Rasberry PI SSL for free

First step: create your own certification authority private key:

openssl genrsa -out myPersonalCA.key 2048

Second step: create your own certification authority:

openssl req -x509 -new -key myPersonalCA.key -out myPersonalCA.cer -days 730

Now you can sign certificates.
With this certificate, let’s proceed to generate our SSL certificate.

 

Third step: create your own SSL private key:

openssl genrsa -out myCertificate.key 2048

 

Fourth step: create the personal SSL request:

openssl req -new -out myCertificate.req -key myCertificate.key

Fifth step: create the personal SSL certificate

openssl x509 -req -in myCertificate.req -out myCertificate.cer -CAkey myPersonalCA.key

-CA myPersonalCA.cer -days 365 -CAcreateserial -CAserial serial

 

the output file myCertificate.cer and myCertificate.key should be used in your apache configuration.

 

 
sdfsdf
sdfsdf