SSL issues at HAProxy
SSL issues at HAProxy
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- SSL Certificate
- SSL issues at HAProxy
- Forum della Comunità
- SSL issues at HAProxy
Argomento: SSL issues at HAProxy
Hi, I have tried concatening the private key, the intermediate cert, and the 2017 cert into a pen from the ones I received from you but still not working at my HAProxy. Please help.
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file.
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file.
Rispondi con citazione |Segnalare
[quote=LIANG WONG]Hi, I have tried concatening the private key, the intermediate cert, and the 2017 cert into a pen from the ones I received from you but still not working at my HAProxy. Please help.
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file.[/quote]Below is the format of the PEM file. I think you may have got the order of the certificate, intermediate certificate and root certificate wrong. I recommend you first put just the private key and certificate into the PEM file and see how that goes. Then add in the intermediate at the end and verify.
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key: domainname.key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: domainname.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: intermediate1.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: root.crt)
-----END CERTIFICATE-----
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file.[/quote]Below is the format of the PEM file. I think you may have got the order of the certificate, intermediate certificate and root certificate wrong. I recommend you first put just the private key and certificate into the PEM file and see how that goes. Then add in the intermediate at the end and verify.
-----BEGIN RSA PRIVATE KEY-----
(Your Private Key: domainname.key)
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: domainname.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: intermediate1.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Root certificate: root.crt)
-----END CERTIFICATE-----
Rispondi con citazione |Segnalare
Concatenating the certs in below order works for me.
1) Root Cert
2) Intermediate Cert
3) Private Key
Thanks.
1) Root Cert
2) Intermediate Cert
3) Private Key
Thanks.
Rispondi con citazione |Segnalare
| Autore | Argomento: SSL issues at HAProxy |
|---|---|
|
LIANG WONG Iscritto: 18/05/2017 |
venerdì 19 maggio 2017 14:58
Hi, I have tried concatening the private key, the intermediate cert, and the 2017 cert into a pen from the ones I received from you but still not working at my HAProxy. Please help.
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file. |
|
CobyDeCock Iscritto: 23/03/2017 |
domenica 21 maggio 2017 13:11
[quote=LIANG WONG]Hi, I have tried concatening the private key, the intermediate cert, and the 2017 cert into a pen from the ones I received from you but still not working at my HAProxy. Please help.
'bind 0.0.0.0:443' : inconsistencies between private key and certificate loaded from PEM file.[/quote]Below is the format of the PEM file. I think you may have got the order of the certificate, intermediate certificate and root certificate wrong. I recommend you first put just the private key and certificate into the PEM file and see how that goes. Then add in the intermediate at the end and verify. -----BEGIN RSA PRIVATE KEY----- (Your Private Key: domainname.key) -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- (Your Primary SSL certificate: domainname.crt) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Your Intermediate certificate: intermediate1.crt) -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- (Your Root certificate: root.crt) -----END CERTIFICATE----- |
|
clewlb Iscritto: 18/05/2017 |
domenica 21 maggio 2017 19:56
Concatenating the certs in below order works for me.
1) Root Cert 2) Intermediate Cert 3) Private Key Thanks. |
sabato 13 giugno 2026 08:46
