cd /etc/ssl/domain.tld openssl genrsa -des3 -out private.key 4096 openssl req -new -key private.key -out certificate.csr
SSLCertificateKeyFile /etc/ssl/domain.tld/private.key SSLCertificateFile /etc/ssl/domain.tld/yourDomainName.crt SSLCertificateChainFile /etc/ssl/domain.tld/yourDomainName.ca-bundleSave your config file and restart the Apache service.