create_server-certificate.sh 163 B

1234567
  1. #!/bin/bash
  2. openssl req -nodes -new -x509 -days 3650 -keyout server.key -out server.crt
  3. echo "Server certificate created: 'server.crt', Keyfile: 'server.key'"