Skip to main content

SSL Web Server

Generate Certificates

Method 1

mkdir /etc/apache2/ssl
cd /etc/apache2/ssl
openssl genrsa -out my-test-web.myhomepbx.key 2048
openssl req -new -key my-test-web.myhomepbx.key -out my-test-web.myhomepbx.csr
openssl x509 -req -days 3650 -in my-test-web.myhomepbx.csr -signkey my-test-web.myhomepbx.key -out my-test-web.myhomepbx.crt

 

Apache Setup