Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with recent container update and SSL #1226
I'm seeing the below error when recently updating the container (within the last 24-48 hours)
nginx.1 | 2019/01/30 02:25:16 [emerg] 33#33: PEM_read_bio_DHparams("/etc/nginx/dhparam/dhparam.pem") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: DH PARAMETERS)
Nothing in my compose has changed in the last few weeks, i'm not sure whats causing this to break now. I've gone thru and deleted the configs and let it try to recreate them with the same issue. Attached is the compose i'm using.
My previous comment was just a temporary fix. I needed to map a volume for /etc/nginx/dhparam to fix this. Not sure how I missed this on the one instance of several I have using this setup, but that was the fix (I had mapped it on the others...). I'm using the letsencrypt companion - not sure why the newer nginx-proxy image was having a problem but what I saw was that it was not remounting the volume it had originally stored the dhparam.pem file in. Instead, it was creating a new volume, putting a blank dhparam.pem file in /etc/nginx/dhparam, and that's what prevented nginx from starting. I think this PR will fix that problem of the blank file: #1213
I was able to fix this fairly easily in my case by creating a named volume and copying over the dhparam.pem file to that so I wouldn't have to wait for a new one to generate.
Are there dockerhub digest id's anywhere so an older build can be pulled meanwhile?