Skip to content

Commit

Permalink
GH formats tab as 4 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe committed Oct 10, 2024
1 parent 56cdc95 commit 8bfc28e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 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
default_bits = 2048
prompt = no
distinguished_name = req_distinguished_name
x509_extensions = req_ext
x509_extensions = req_ext
[ req_distinguished_name ]
countryName = US
countryName = US
stateOrProvinceName = NY
localityName = New York
organizationName = Jenkins
organizationalUnitName = Test
commonName = Self-Signed CA
emailAddress = noreply@jenkins.io
localityName = New York
organizationName = Jenkins
organizationalUnitName = Test
commonName = Self-Signed CA
emailAddress = noreply@jenkins.io
[ req_ext ]
keyUsage = digitalSignature
keyUsage = digitalSignature
basicConstraints = CA:false
subjectAltName = @alternate_names
subjectKeyIdentifier = hash
subjectKeyIdentifier = hash
[ alternate_names ]
DNS.1 = localhost
DNS.1 = localhost
EOF

mkdir -p "$tmpDir/output"
Expand Down

0 comments on commit 8bfc28e

Please sign in to comment.