For the life of me can't figure out how to create ssl.cert so I can get email going. I checked this site out:
sbbs automatically creates the ssl.cert file (as a self-signed certificate) when it doesn't already exist. You don't actually need this to "get email going" however. If you do actually require SMTPS to send email (e.g. to gmail.com),
then you'll need a CA-signed certificate (e.g. from letsencrypt.org). See https://wiki.synchro.net/module:letsyncrypt for details.
Re: Unable to figure out how to create ssl.cert
By: Digital Man to Sam Alexander on Sun Jul 06 2025 08:53 pm
sbbs automatically creates the ssl.cert file (as a self-signed certificate) when it doesn't already exist. You don't actually need this to "get email going" however. If you do
actually
require SMTPS to send email (e.g. to gmail.com), then you'll need a CA-signed certificate (e.g. from letsencrypt.org). See https://wiki.synchro.net/module:letsyncrypt for details.
I kept getting mail errors saying it couldn't find ssl.cert when mail was sending and receiving, so I assumed this was needed. I actually setup relaying through your site, but it's
still
not working. But no mail will come in even though the two POP ports are open to the Internet.
I'll try the Lets Encrypt just to see if I can get the ssl.cert error to go away if nothing else.
Re: Unable to figure out how to create ssl.cert
By: Digital Man to Sam Alexander on Sun Jul 06 2025 08:53 pm
sbbs automatically creates the ssl.cert file (as a self-signed certificate) when it doesn't already exist. You don't actually need this to "get email going" however. If you do actually require SMTPS to send email (e.g. to gmail.com), then you'll need a CA-signed certificate (e.g. from letsencrypt.org). See https://wiki.synchro.net/module:letsyncrypt for details.
I kept getting mail errors saying it couldn't find ssl.cert when mail was sending and receiving, so I assumed this was needed. I actually setup relaying through your site, but it's still not working. But no mail will come in even though the two POP ports are open to the Internet.
I'll try the Lets Encrypt just to see if I can get the ssl.cert error to go away if nothing else.
Re: Unable to figure out how to create ssl.cert
By: Sam Alexander to Digital Man on Sun Jul 06 2025 11:06 pm
Re: Unable to figure out how to create ssl.cert
By: Digital Man to Sam Alexander on Sun Jul 06 2025 08:53 pm
sbbs automatically creates the ssl.cert file (as a self-signed certificate) when it doesn't already exist. You don't actually need this to "get email going" however. If you do actually
require SMTPS to send email (e.g. to gmail.com), then you'll need a CA-signed certificate (e.g. from letsencrypt.org). See https://wiki.synchro.net/module:letsyncrypt for details.
I kept getting mail errors saying it couldn't find ssl.cert when mail was sending and receiving, so I assumed this was needed. I actually setup relaying through your site, but it's still
not working. But no mail will come in even though the two POP ports are open to the Internet.
I'll try the Lets Encrypt just to see if I can get the ssl.cert error to go away if nothing else.
Another error I'm getting with pop3 which I thought was related to the cert, I've not received any emails yet, but when a connection comes in they all give this error with private key.
7/7 06:43:27 mail 0048 POP3S [162.142.125.118] Connection accepted on 192.168.4.109 port 995 from port 53678
7/7 06:43:27 mail 0048 POP3S [162.142.125.118] Hostname: scanner-19.ch1.censys-scanner.com
7/7 06:43:27 mail 0048 POP3S [162.142.125.118] ERROR 'Bad argument, parameter 3' (-3) setting private key
You'd mentioned the ssl.cert should've been created automatically, but I didn't have it after I built SBBS.
You'd mentioned the ssl.cert should've been created automatically, but I didn't have it after I built SBBS.
The ctrl/cryptlib.key (private key) and ctrl/cert.ssl (self-signed cert) files are automatically created when you *run* (not build) SBBS. Do you have the cryptlib.key file? Note: If you
change your system password, these files have to be recreated.
Re: Unable to figure out how to create ssl.cert
By: Digital Man to Sam Alexander on Mon Jul 07 2025 10:34 am
You'd mentioned the ssl.cert should've been created automatically, but I didn't have it after I built SBBS.
The ctrl/cryptlib.key (private key) and ctrl/cert.ssl (self-signed cert) files are automatically created when you *run* (not build) SBBS. Do you have the cryptlib.key file? Note: If you change your system password, these files have to be recreated.
I don't have /sbbs/ctrl/ssl.cert even after stopping and restarting SBBS, but I do have /sbbs/ctrl/cryptlib.key.
I get these often in my sbbs logs.
7/7 20:13:52 mail Failed to open/read TLS certificate: /sbbs/ctrl/ssl.cert
Also I'm trying to use letsyncrypt, and trying to generate a new key: /sbbs/exec/jsexec letsyncrypt --new-key
I see in the logs where Let's Encrypt tries to read into the web server and pull out the file for authenticate, but the file doesn't exist. I have /sbbs/web/root/.well-known/acme-challenge/ but apparently the js isn't creating the file for Let's Encrypt to find.
I don't have /sbbs/ctrl/ssl.cert even after stopping and restarting SBBS, but I do have /sbbs/ctrl/cryptlib.key.
You should probably resolve that issue first.
Did you set up your letsyncrypt.ini file?
Re: Unable to figure out how to create ssl.cert
By: Digital Man to Sam Alexander on Mon Jul 07 2025 09:13 pm
I don't have /sbbs/ctrl/ssl.cert even after stopping and restarting SBBS, but I do have /sbbs/ctrl/cryptlib.key.
You should probably resolve that issue first.
What creates this or how can I troubleshoot this?
I don't see any errors or
messages in the logs about this being created or not.
Did you set up your letsyncrypt.ini file?
Yes, I left the KeyID as is and there wasn't anything under STATE:
Host = acme-v02.api.letsencrypt.org
Directory = /directory
TOSAgreed = true
GroupReadableKeyFile = false
[Domains]
totallynerd.com = /sbbs/web/root
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 46:19:18 |
Calls: | 346 |
Files: | 6,012 |
Messages: | 232,158 |