ssl-cert-check icon indicating copy to clipboard operation
ssl-cert-check copied to clipboard

Unable to load the certificate error while running the ssl-cert-check script.

Open gcdreamer123 opened this issue 3 years ago • 4 comments

I am getting below error while running ssl-cert-check script on couple of domains. Any help much appreciated.

Getting below error:

unable to load certificate 140208006047560:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 140696656316232:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 139784969066312:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 139748908087112:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE m3.ihost.getbills.com:443 Expired -2459473 unable to load certificate 140549511137096:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 139692167886664:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 140211529897800:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE unable to load certificate 139946727470920:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICA TE cert-m3.ihost.getbills.com:443 Expired -2459473

gcdreamer123 avatar Sep 16 '21 03:09 gcdreamer123

we are using Version: 3.29 also tried with latest Version 4.14 getting same error message.

gcdreamer123 avatar Sep 16 '21 03:09 gcdreamer123

It is working correctly here:

$ ./ssl-cert-check -s m3.ihost.getbills.com -p 443

Host                                            Status       Expires      Days
----------------------------------------------- ------------ ------------ ----
m3.ihost.getbills.com:443                       Valid        Oct 12, 2022  391

You may want to check your environment.

Matty9191 avatar Sep 16 '21 13:09 Matty9191

Hello Matt,

i am still getting error, what should i verify from the environment.

./ssl-cert-check -s m3.ihost.getbills.com -p 443

Host Status Expires Days


unable to load certificate 139900537874248:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE unable to load certificate 140003529705288:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE unable to load certificate 140410863109960:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE unable to load certificate 140507599963976:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE m3.ihost.getbills.com:443 Expired -2459474

gcdreamer123 avatar Sep 16 '21 14:09 gcdreamer123

Matt,

Script working on Rhel7 server but failing on Rhel 6 server. Is there a way to verify what causing the issue on Rhel6 server

gcdreamer123 avatar Sep 16 '21 14:09 gcdreamer123