certs
This commit is contained in:
6
app/etc/traefik/certs/generate
Executable file
6
app/etc/traefik/certs/generate
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
openssl genrsa -out $1.key 2048
|
||||
openssl req -new -key $1.key -out $1.csr -subj "/CN=$1"
|
||||
openssl x509 -req -days 365 -in $1.csr -signkey $1.key -out $1.crt
|
||||
|
||||
Reference in New Issue
Block a user