mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-05-04 18:09:50 +02:00
This commit is contained in:
@@ -3,7 +3,7 @@ mkdir /tmp/certgen 2>/dev/null
|
|||||||
cd /tmp/certgen
|
cd /tmp/certgen
|
||||||
|
|
||||||
openssl genrsa -aes256 -out ca-key.pem -passout pass:"foobarpwd" 4096
|
openssl genrsa -aes256 -out ca-key.pem -passout pass:"foobarpwd" 4096
|
||||||
openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem -subj "/C=SK/ST=Slovakia/L=SK/O=sectorq.cloud/OU=IT/CN=sectorq.cloud" -passin pass:"foobarpwd"
|
openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem -subj "/C=SK/ST=Slovakia/L=SK/O=sectorq.eu/OU=IT/CN=sectorq.eu" -passin pass:"foobarpwd"
|
||||||
openssl genrsa -out server-key.pem 4096
|
openssl genrsa -out server-key.pem 4096
|
||||||
if [[ `hostname` == "nas" ]]
|
if [[ `hostname` == "nas" ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user