Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:user:nelgin [2024/09/03 11:08] – [Mosquitto, Synchronet and TLS With Self-Signed Certs] nelgin | wiki:user:nelgin [2024/09/03 11:22] (current) – [Mosquitto, Synchronet and TLS With Self-Signed Certs] nelgin | ||
---|---|---|---|
Line 26: | Line 26: | ||
===== Mosquitto, Synchronet and TLS With Self-Signed Certs ===== | ===== Mosquitto, Synchronet and TLS With Self-Signed Certs ===== | ||
- | This works for me. It might not work for you. | + | This works for me. It might not work for you. It's easier to do all this as root and then chown/chmod files as necessary to secure them. This works on Ubuntu. |
First I created a dns entry mqtt.endofthelinebbs.com to point to my server IP address. You could probably use your regular dns name or something else, I'm not sure. I just know this works for me. | First I created a dns entry mqtt.endofthelinebbs.com to point to my server IP address. You could probably use your regular dns name or something else, I'm not sure. I just know this works for me. | ||
Line 118: | Line 118: | ||
If all is good you can now make your sbbs certs. | If all is good you can now make your sbbs certs. | ||
- | cd /sbbs/ctrl | + | |
Create your key | Create your key | ||
+ | cd / | ||
openssl genrsa -out sbbs_mqtt.key 2048 | openssl genrsa -out sbbs_mqtt.key 2048 | ||
Create your csr | Create your csr | ||
Line 127: | Line 128: | ||
openssl x509 -req -in sbbs_mqtt.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out sbbs_mqtt.crt | openssl x509 -req -in sbbs_mqtt.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out sbbs_mqtt.crt | ||
| | ||
- | copy the / | + | copy the / |
- | | + | cp / |
- | | + | |
+ | cd / | ||
+ | | ||
Replacing bbsuser and bbsgroup with the username/ | Replacing bbsuser and bbsgroup with the username/ | ||