Since letsyncrypt isn't working here and the irc is down, I decided to figure out how to get the cert on my own.
Since letsyncrypt isn't working here and the irc is down, I decided to figure out how to get the cert on my own.
Let's Encrypt has a nice bit of software that installed easily and works just fine. I can apparently set it up with cron to run when I need it to.
It created certificates without any issue. The problem now is that I cannot figure out where synchronet expects to find these certificates (aside from the self-signed one).
There is an entry about using something called certtool but that utility is old and appears broken so I hope that isn't the answer.
./jsexec certtool --import /etc/letsencrypt/live/capitolcityonline.net/fullchain.pem
Throws a cryptlib error -43.
../../3rdp_src/cl/cryptlib.h:#define CRYPT_ERROR_NOTFOUND ( -43 ) /* Requested item not found in object */
Most likely, it just doesn't support the format of the .pem file.
I think the --import option expects a pkcs7 certificate, while
the --import-pkcs12 option expects a pkcs12 certificate.
The utility works for those that know how to work it.
back ends for web traffic, and had a working website again in < 30
minutes.
I started seeing some SMTPS errors so I put the self-signed cert back
into place in /ctrl and that seemed to fix those.
../../3rdp_src/cl/cryptlib.h:#define CRYPT_ERROR_NOTFOUND ( -43 ) /* Requested item not found in object */
Most likely, it just doesn't support the format of the .pem file.
I think the --import option expects a pkcs7 certificate, while
the --import-pkcs12 option expects a pkcs12 certificate.
The utility works for those that know how to work it.
I might know how to work it if the docs were more clear about what needs to be done. I suspect that fullchain.pem and privkey.pem need to be cat/tee'd together, in that order, to make it work.
Back to the letsyncrypt bug... after reading up on how Let's Encrypt works, I can figure out the following:
(1) at some point, letsyncrypt hit an error that it either reported or didn't know what to do with;
(2) after that, it kept reporting '0' even though it was *not* working (BUG!);
(3) by the time the cert expired, evidence of whatever problem letsyncypt had (assuming it reported it to begin with) was long gone;
Back to the letsyncrypt bug... after reading up on how Let's Encrypt works,
I can figure out the following:
(1) at some point, letsyncrypt hit an error that it either reported or didn't know what to do with;
(2) after that, it kept reporting '0' even though it was *not* working (BUG!);
letsyncrypt doesn't re-request a signed-certificate every time you run it. It has built-in expiration for the cert and will do *nothing* if you just run it without any options, until the cert times out or you specify an option to forc
it do something. That's not a "BUG!".
(3) by the time the cert expired, evidence of whatever problem letsyncypt had (assuming it reported it to begin with) was long gone;
Did you check your web server log output like I already suggested? It should explain what's happening when it's requesting the challenge file that letsyncrypt.js creates (but couldn't be retreived by the Let's Encrypt ACME service or whatever it is)?
Back to the letsyncrypt bug... after reading up on how Let's Encrypt works,
I can figure out the following:
(1) at some point, letsyncrypt hit an error that it either reported or didn't know what to do with;
(2) after that, it kept reporting '0' even though it was *not* working (BUG!);
letsyncrypt doesn't re-request a signed-certificate every time you run it. It has built-in expiration for the cert and will do *nothing* if you just run it without any options, until the cert times out or you specify an option to forc
it do something. That's not a "BUG!".
What you are saying here assumes there was a signed cert in place with an expiration. The problem is that there wasn't one because letsyncrypt
at some point failed to get one.
No signed-certificate = no expiration date = "doing *nothing*" = BUG!
It should keep trying to get one until it is successful. If it isn't = BUG!
There is no reason for me to bother with it now. haproxy saved the day and, because it reads the pem files directly instead of requiring them to be converted into some nonsense format (that can only be generated by buggy letsyncrypt), it is easier to use and figure out.
Steven Wright quote #27:
Experience is something you don't get until just after you need it.
See my "long gone" comment above. Whenever letsyncrypt dropped
its deuce, it wasn't initially noticed and whatever logs its oopsie
got written in are no longer here.
only be generated by buggy letsyncrypt), it is easier to use and
figure out.
| Sysop: | MSGRetired |
|---|---|
| Location: | Oxford, MA |
| Users: | 2 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 11:34:23 |
| Calls: | 0 |
| Files: | 10,599 |
| D/L today: |
155 files (32,228K bytes) |
| Messages: | 4,950 |
| Posted today: | 2 |