2 ms·
You don't even need that. See https://simpatico.io/devops/deploy.sh#generateSelfSignedCert https://simpatico.io/devops/deploy.sh#generateSelfSignedCert() and al
by javajosh 3y ago
You don't even need that. See https://simpatico.io/devops/deploy.sh#generateSelfSignedCert https://simpatico.io/devops/deploy.sh#generateSelfSignedCert() and also #generateRootCA()
Then point your server to the output files. If you want, you can also modify `/etc/hosts` to point a "production name" to localhost (something I actually don't do and never wrote a script for). Far fewer moving parts than the OP. (parts of Simpatico uses subtle.crypto and so requires https to run even locally)