Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
jetconf
Commits
4823a559
Commit
4823a559
authored
Oct 24, 2018
by
Aleš Mrázek
Browse files
Update gen_client_cert.sh
parent
e20cba6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/cert_gen/gen_client_cert.sh
View file @
4823a559
...
...
@@ -11,7 +11,7 @@ echo -e "\n2. Generating CSR:"
openssl req
-new
-key
$1
.key
-out
$1
.req
-subj
"/CN=Test/emailAddress=
$1
@mail.cz"
echo
-e
"
\n
3. Signing CSR with test CA's key:"
openssl x509
-req
-in
$1
.req
-CA
ca.pem
-CAkey
ca.key
-days
3650
-out
$1
.pem
openssl x509
-req
-in
$1
.req
-CAcreateserial
-CA
ca.pem
-CAkey
ca.key
-days
3650
-out
$1
.pem
rm
$1
.req
echo
-e
"
\n
4. Creating
$1_curl
.pem (concaterated certificate and key for curl etc.):"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment