PEM routines error: ERR_OSSL_PEM_NO_START_LINE when moving to docker image
See original GitHub issueI have a module working and properly authenticating to an AD LDAP server in both my Windows Dev computer environment, and on a production linux server, but as soon as I tried to use LDAP from within a docker container, it just gives me this error. I’m using Node12 docker image and the current version of node-ldapsj.
The full error object that gets returned is:
{
"library":"PEM routines",
"function":"get_name",
"reason":"no start line",
"code":"ERR_OSSL_PEM_NO_START_LINE"
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Node.js https pem error: routines:PEM_read_bio:no start line
It works but the certificate is not trusted. You can view the image in image file. enter image description here.
Read more >How to Fix and Debug Docker Containers Like a Superhero
Container errors are tricky to diagnose, but some investigative magic works wonders. Read along to learn how to debug Docker containers.
Read more >NGINX + OpenSSL + Docker. Cannot load certificate key ...
I've seen the problem relates with running the docker container as root, but I don't know how to do it. (Using only docker...
Read more >SSL Connection Failure from Docker Image – Lisa's Home Page
We have a script that's used to securely retrieve passwords … a script which failed when run from a Docker container. * could...
Read more >SSL: CERTIFICATE_VERIFY_FAILED error in a docker ...
This is run in a docker container that runs on ubuntu:latest. I'm leaning towards the fact that it can't do openssl stuff (https...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Dicksongate, do you remember what did you do to solve this error? I have the same today…
My apologies, This was unrelated. I didn’t understand docker-compose yaml syntax and didn’t have newlines in my secret keys.