sixeyed / diamol

Code samples for the book "Learn Docker in a Month of Lunches"
https://www.manning.com/books/learn-docker-in-a-month-of-lunches
Creative Commons Attribution Share Alike 4.0 International
496 stars 261 forks source link

Ch03 certificate has expired #22

Closed CRMacPherson closed 3 years ago

CRMacPherson commented 3 years ago

Hello,

Have the following error in container's logs for ch03:

** web-ping ** Pinging: blog.sixeyed.com; method: HEAD; 3000ms intervals
Making request number: 1; at 1604586506199
{ Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
at TLSSocket.emit (events.js:198:13)
at TLSSocket._finishInit (_tls_wrap.js:633:8) code: 'CERT_HAS_EXPIRED' }
Making request number: 2; at 1604586509201
{ Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1055:34)
at TLSSocket.emit (events.js:198:13)
at TLSSocket._finishInit (_tls_wrap.js:633:8) code: 'CERT_HAS_EXPIRED' }
Making request number: 3; at 1604586512205

Using WSL2 on Win10 Home with Ubuntu 20.04.

Thanks!

sixeyed commented 3 years ago

This is because the SSL cert for my blog had expired! So I guess the tool is useful 👍

Fixed now.

CRMacPherson commented 3 years ago

Yes! Pinging Google worked, thankfully I don't have to contact them ;) ... and, you mean your readers are useful too right? btw, thanks for the great book!

sixeyed commented 3 years ago

Thank you :)