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

Author: Mauro

A tech blog

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s