SSL installation, configuration for apache / mod_ssl

#create private key:
openssl genrsa -out www.demo.com.key 4096 -sha256

#Create CSR (Certificate Signing Request):
#common name = domain name, e.g. www.test.com or *.test.com for wildcard ssl
openssl req -new -key www.demo.com.key -out www.demo.com.csr

Examples CSR values:

Country Name(2letter code)[AU]: DE
State orProvince Name(full name)[Some-State]: Bayern
Locality Name(eg,city)[]: Ingolstadt
Organization Name(eg,company)[Internet Widgits Pty Ltd]: MyCompany Ltd
Organizational Unit Name(eg,section)[]:
Common Name(eg,YOUR name)[]: www.domain.de
Email Address[]: admin@domain.de

#Show CSR
cat www.demo.com.csr



=> Use this CSR code to request your SSL certificate in your MyInterSSL panel

 

Apache Config PositiveSSL (SECTIGO):

DocumentRoot /home/user/www/www.demo.com
ServerName www.demo.com
ServerAlias demo.com
SSLEngine on
SSLCertificateFile /home/user/ssl/www.demo.com.crt
SSLCertificateKeyFile /home/user/ssl/www.demo.com.key
SSLCertificateChainFile /home/user/ssl/www.demo.com.ca-bundle

 

Apache Config RapidSSL (DIGICERT):

DocumentRoot /home/user/www/www.demo.com
ServerName www.demo.com
ServerAlias demo.com
SSLEngine on
SSLCertificateFile /home/user/ssl/www_demo_com.crt
SSLCertificateKeyFile /home/user/ssl/www_demo_com.key
SSLCertificateChainFile /home/user/ssl/www_demo_com_12345678DigiCertCA.crt
 

 


Was this answer helpful?

 Print this Article

Also Read

Converting .CRT (X.509) to .P7B (PKCS#7) file format

Windows:    Instrunctions for Microsoft Windows (Symantec Knowlegde Base) Linux: openssl...

SSL Installation under Apache and Tomcat 6.0, Tomcat 7.0,Tomcat 8.0

Tomcat 6.x: https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html Tomcat...

How can i verify my SSL certification?

Please use the tools from our SSL Tools site which offer you all kinds of SSL checker tools for...

Configuring Apache with SNI support

https://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI

How to export an existing SSL certificate from Windows IIS and reuse it on Linux (convert .PFX to .KEY and .CRT)

1) In Windows, right click on the SSL certificate and export to .PFX 2) On Linux, convert the...