root certificate are needed for everyone

Updated the certificate.md page because the 
root certificates are needed in any case now
since php does not bundle them anymore.
This commit is contained in:
Alain Sanguinetti 2016-05-15 10:30:16 +08:00
parent 06a3acc90c
commit 18997d07d8

View file

@ -72,15 +72,9 @@ Depends on the CA, intermediate certificates and root have to be downloaded.
Intermediate certificates and root must be merged with certificates obtained to create a unified chain certificates. Intermediate certificates and root must be merged with certificates obtained to create a unified chain certificates.
If you use a root certificate (Cacert):
```bash ```bash
cat ae_certs/ssl.crt ae_certs/intermediate_ca.pem ae_certs/ca.pem | sudo tee crt.pem``` cat ae_certs/ssl.crt ae_certs/intermediate_ca.pem ae_certs/ca.pem | sudo tee crt.pem```
If you use only an intermediate certificate (StartSSL).
```bash
cat ae_certs/ssl.crt ae_certs/intermediate_ca.pem | sudo tee crt.pem```
The private key have to be converted in PEM format. The private key have to be converted in PEM format.