FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
fhscripts:create:create_sslsan_csr_key.sh.html [2018/02/24 00:54] kurihara created |
fhscripts:create:create_sslsan_csr_key.sh.html [2018/03/29 00:06] (current) kurihara |
||
---|---|---|---|
Line 1: | Line 1: | ||
[[: | [[: | ||
- | ====== | + | ====== |
- | $FHHOME/fhscripts/ | + | $FHHOME/bin/ |
{{INLINETOC}} | {{INLINETOC}} | ||
\\ | \\ | ||
+ | |||
+ | |||
+ | ===== What is create_sslsan_csr_key.sh ===== | ||
+ | $FHHOME/ | ||
+ | |||
+ | *Creating SSL SAN CSR and Key | ||
+ | *If you want to create a Self-Signed CSR, you must use this create_sslsan_csr_key.sh . \\ Because from Chrome 58 onwards, you must use SSL SAN. | ||
+ | |||
+ | <WRAP box 90%> | ||
+ | Related Script | ||
+ | *[[fhscripts: | ||
+ | </ | ||
===== How to use ===== | ===== How to use ===== | ||
Line 11: | Line 23: | ||
$ create_sslsan_csr_key.sh | $ create_sslsan_csr_key.sh | ||
</ | </ | ||
+ | |||
== Example Output == | == Example Output == | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
- | $ create_ssl_csr_san.sh www.example.com test.example.com | + | $ create_sslsan_csr_san.sh www.example.com test.example.com |
Generating a 2048 bit RSA private key | Generating a 2048 bit RSA private key | ||
- | .............................................................................+++ | + | ............+++ |
- | ......................+++ | + | ..............+++ |
writing new private key to ' | writing new private key to ' | ||
----- | ----- | ||
Line 25: | Line 38: | ||
========================================================== | ========================================================== | ||
# ls -ltrh www.example.com* |tail -n 2 | # ls -ltrh www.example.com* |tail -n 2 | ||
- | -rw-r--r-- 1 root root 1.7K | + | -rw-r--r-- 1 root root 1.7K Feb 24 00:55 www.example.com.key |
- | -rw-r--r-- 1 root root 1.1K | + | -rw-r--r-- 1 root root 1.1K Feb 24 00:55 www.example.com.csr |
#openssl req -text -in www.example.com.csr |grep -E " | #openssl req -text -in www.example.com.csr |grep -E " | ||
Line 38: | Line 51: | ||
===== create_sslsan_csr_key.sh ===== | ===== create_sslsan_csr_key.sh ===== | ||
- | $FHHOME/fhscripts/create_ssl_csr_key.sh | + | $FHHOME/bin/create_sslsan_csr_key.sh |
<sxh bash toolbar: | <sxh bash toolbar: | ||
#!/bin/bash | #!/bin/bash | ||
# | # | ||
- | # create_ssl_csr_key.sh | + | # create_sslsan_csr_key.sh |
# | # | ||
# How to use | # How to use | ||
Line 118: | Line 131: | ||
EOF | EOF | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | <WRAP box 90%> | ||
+ | <catlist ..: -noAddPageButton -smallHead -sortAscending | ||
+ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.