Skip to content

Commit

Permalink
Spaces better
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe committed Oct 10, 2024
1 parent 8bfc28e commit 222d622
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/main/keystore/generate_self_signed_cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ trap 'rm -rf $tmpDir' EXIT

cat > "$tmpDir/req.cnf" <<EOF
[ req ]
default_bits = 2048
prompt = no
distinguished_name = req_distinguished_name
x509_extensions = req_ext
default_bits = 2048
prompt = no
distinguished_name = req_distinguished_name
x509_extensions = req_ext
[ req_distinguished_name ]
countryName = US
stateOrProvinceName = NY
localityName = New York
organizationName = Jenkins
organizationalUnitName = Test
commonName = Self-Signed CA
emailAddress = noreply@jenkins.io
countryName = US
stateOrProvinceName = NY
localityName = New York
organizationName = Jenkins
organizationalUnitName = Test
commonName = Self-Signed CA
emailAddress = noreply@jenkins.io
[ req_ext ]
keyUsage = digitalSignature
basicConstraints = CA:false
subjectAltName = @alternate_names
subjectKeyIdentifier = hash
keyUsage = digitalSignature
basicConstraints = CA:false
subjectAltName = @alternate_names
subjectKeyIdentifier = hash
[ alternate_names ]
DNS.1 = localhost
DNS.1 = localhost
EOF

mkdir -p "$tmpDir/output"
Expand Down

0 comments on commit 222d622

Please sign in to comment.