FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


fhscripts:create:create_sslsan_csr_key.sh.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:
 [[:index.html#FastHandle Scripts|FastHandle Scripts]] [[:index.html#FastHandle Scripts|FastHandle Scripts]]
-====== create_sslsan_csr_key.sh ======+====== Creating SSL SAN CSR and Key with one-line======
  
-$FHHOME/fhscripts/create_ssl_csr_key.sh+$FHHOME/bin/create_ssl_csr_key.sh
  
 {{INLINETOC}} {{INLINETOC}}
 \\ \\
 +
 +
 +===== What is create_sslsan_csr_key.sh =====
 +$FHHOME/fhscripts/create_ssl_csr_key.sh
 +
 +  *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:create:create_ssl_csr_key.sh.html|]]
 +</WRAP>
  
 ===== How to use ===== ===== How to use =====
Line 11: Line 23:
 $ create_sslsan_csr_key.sh  www.example.com www1.example.com $ create_sslsan_csr_key.sh  www.example.com www1.example.com
 </sxh> </sxh>
 +
  
 == Example Output == == Example Output ==
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-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 'www.example.com.key' writing new private key to 'www.example.com.key'
 ----- -----
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  2月 24 00:49 www.example.com.key +-rw-r--r-- 1 root root 1.7K Feb 24 00:55 www.example.com.key 
--rw-r--r-- 1 root root 1.1K  2月 24 00:49 www.example.com.csr+-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 "Subject:|DNS" |grep -v Key #openssl req -text -in www.example.com.csr |grep -E "Subject:|DNS" |grep -v Key
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:false gutter:false> <sxh bash toolbar:false gutter:false>
 #!/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
 </sxh> </sxh>
 +
 +
 +
 +\\
 +\\
 +<WRAP box 90%>
 +<catlist ..: -noAddPageButton -smallHead -sortAscending  -sortAscending>
 +</WRAP>
  


fhscripts/create/create_sslsan_csr_key.sh.html.1519401285.txt.gz · Last modified: 2018/02/24 00:54 by kurihara