9 lines
254 B
Fish
Executable file
9 lines
254 B
Fish
Executable file
#!/usr/bin/fish
|
|
|
|
openssl genrsa -out key.pem 2048
|
|
|
|
openssl req -new -out server.csr -key key.pem -config local_cert.cnf
|
|
|
|
openssl x509 -req -days 9999 -in server.csr -signkey key.pem -out cert.pem -extensions v3_req -extfile local_cert.cnf
|
|
|
|
rm server.csr
|