Convert your SSL certificate to a production-ready Apache VirtualHost configuration.
This tool converts your SSL certificate (PEM format or PFX/PKCS12) into a production-ready Apache VirtualHost configuration. It follows the Mozilla Server Side TLS guidelines — the same standards used by SSL Labs to grade servers.
The generated config includes SSL protocols, cipher suites, session settings, OCSP stapling, HSTS headers, and HTTP to HTTPS redirect. Simply paste your certificate or upload a PFX file, select a security profile, and get a copy-paste ready Apache config.
SSLCertificateChainFile for the intermediate CA bundle.apachectl gracefulapachectl configtest/etc/ssl/ or /etc/apache2/ssl/ with restrictive permissions.SSLCertificateFile / SSLCertificateKeyFile
Path to the fullchain certificate and private key files. Use absolute paths.
SSLProtocol
Specifies allowed TLS versions. Modern: -all +TLSv1.3. Intermediate: -all +TLSv1.2 +TLSv1.3.
SSLCipherSuite
Cipher suites allowed for handshake. Use HIGH:!aNULL:!MD5 for broad compatibility.
SSLUseStapling / SSLStaplingCache
Enables OCSP stapling. Server fetches and caches the OCSP response for faster handshakes.
Apache requires the fullchain certificate (SSLCertificateFile), the private key (SSLCertificateKeyFile), and optionally the CA bundle (SSLCertificateChainFile). Download these files from this tool.
Enable SSLUseStapling On and set SSLStaplingCache in your VirtualHost. The intermediate CA certificate is required for verification.
Run apachectl configtest to test the config, then apachectl graceful to apply changes without dropping connections.