medic / cht-couch2pg

Software for creating read-only replicas of data from CHT applications, using PostgreSQL v9.4
Apache License 2.0
4 stars 8 forks source link

docker image doesn't recognize local-ip.co Let's Encrypt certs #113

Closed mrjones-plip closed 2 years ago

mrjones-plip commented 2 years ago

When testing with this image, I saw I was getting an error when trying to contact my CouchDB instance on my localhost which was using a Let's Encrypt cert from https://local-ip.co :

curl https://192-168-68-26.my.local-ip.co/
curl: (60) SSL certificate problem: certificate has expired

Thinking what could cause this when the cert was most definitely not expired, I thought maybe the image was out of date. Then I did an apt update && apt dist-upgrade in the container, the error went away. I noted that openssl along with a lot of python* and libpython* packages were updated.

We should update the image on docker hub to account for this.

mrjones-plip commented 2 years ago

To followups:

mrjones-plip commented 2 years ago

Fix will go live in #119