SSL in Apache with Intermediate Certificate

For configuration you need these files: domain.tld.key (your private key), domain.tld.crt (your public certificate) and intermediate.crt (intermediate certificate of your certificate authority).

The configuration is pretty easy. Just put these lines in your virtual server configuration:

SSLEngine On
SSLProtocol All
SSLCertificateFile /path/to/domain.tld.crt
SSLCertificateKeyFile /path/to/domain.tld.key
SSLCertificateChainFile /path/to/intermediate.crt
<Files ~ "\.(phtml|php?)$">
        SSLOptions +StdEnvVars
<IfModule mod_setenvif.c>
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0

Now just restart apache daemon and you’re done 🙂