question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PEM routines error: ERR_OSSL_PEM_NO_START_LINE when moving to docker image

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
meobncommented, Oct 6, 2021

ERR_OSSL_PEM_NO_START_LINE error:0909006C:PEM routines:get_name:no start line please can someone help me out with this error when trying to install any package tthis is what it will be showing me

Hi Dicksongate, do you remember what did you do to solve this error? I have the same today…

5reactions
josh-hemphillcommented, Sep 23, 2019

My apologies, This was unrelated. I didn’t understand docker-compose yaml syntax and didn’t have newlines in my secret keys.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found