Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gcdreamer123 opened this issue Sep 16, 2021 · 4 comments

Comments

@gcdreamer123
Copy link

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
Copy link
Author

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

@Matty9191
Copy link
Owner

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.

@gcdreamer123
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants