generate SSL self signed
- Generate the Private Key (domain.key):
openssl genpkey -algorithm RSA -out domain.key
- Generate the Certificate Signing Request (CSR) using the private key
openssl req -new -key domain.key -out momointegration.csr
- Generate a Self-Signed Certificate (momointegration.crt) from the CSR:
openssl x509 -req -days 365 -in momointegration.csr -signkey domain.key -out momointegration.crt