| 41 | |
| 42 | The HTTPS !VirtualHosts have the following directives: |
| 43 | |
| 44 | {{{ |
| 45 | SSLEngine on |
| 46 | SSLCipherSuite HIGH |
| 47 | SSLProtocol all -SSLv2 |
| 48 | SSLCertificateFile /etc/ssl/transitionnetwork.org/transitionnetwork.org.pem |
| 49 | SSLCertificateChainFile /etc/ssl/transitionnetwork.org/gandi.pem |
| 50 | }}} |
| 51 | |
| 52 | The transitionnetwork.org.pem file contains both the certificate and the key (these are the files from gandi.net): |
| 53 | |
| 54 | {{{ |
| 55 | cat transitionnetwork.org.crt > transitionnetwork.org.pem |
| 56 | cat transitionnetwork.org.key >> transitionnetwork.org.pem |
| 57 | }}} |
| 58 | |
| 59 | And the gandi.pem contains the cert and the chain of root certificates: |
| 60 | |
| 61 | {{{ |
| 62 | wget http://crt.gandi.net/GandiStandardSSLCA.crt |
| 63 | wget http://crt.usertrust.com/UTNAddTrustServer_CA.crt |
| 64 | wget http://crt.usertrust.com/AddTrustExternalCARoot.crt |
| 65 | openssl x509 -inform DER -in GandiStandardSSLCA.crt -out GandiStandardSSLCA.pem |
| 66 | openssl x509 -inform DER -in AddTrustExternalCARoot.crt -out AddTrustExternalCARoot.pem |
| 67 | openssl x509 -inform DER -in UTNAddTrustServer_CA.crt -out UTNAddTrustServer_CA.pem |
| 68 | cat transitionnetwork.org.crt > gandi.pem |
| 69 | cat GandiStandardSSLCA.pem >> gandi.pem |
| 70 | cat AddTrustExternalCARoot.pem >> gandi.pem |
| 71 | cat UTNAddTrustServer_CA.pem >> gandi.pem |
| 72 | }}} |