1 2 3 4 5
#!/bin/sh openssl req -x509 -batch -newkey rsa:2048 -keyout server.key -nodes -days 365 -out server.crt chmod 0400 server.key server.crt