Created
April 21, 2018 22:06
-
-
Save Aebian/f6ce3907d4ac9f82a5bc6ee329e9cba4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -genkeypair -alias <ServerName> -keyalg RSA -keysize 2048 -keystore "D:\3rdParty\SSLCert\<FileName>.pfx" -validity 1825 -storetype PKCS12 -dname "CN=<fqdn>, OU=<Department>, O=<Enterprise Corp>, L=<City>, ST=<State>, C=CA" -ext SAN=dns:<ServerName1>,dns:<ServerName2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -certreq -alias <FQDN> -file <FileName>.csr -storepass <Password> -keystore "D:\3rdParty\SSLCert\<FileName>.pfx" -ext SAN=dns:<ServerDNS1>,dns:<ServerDNS1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -importcert -alias <FQDN> -file <FileName>.cer -storepass <Password> -keystore D:\3rdParty\SSLCert\<FileName>.pfx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -importcert -alias <alias or FQDN> -trustcacerts -file <FileName>.cer -storepass <Password> -keystore D:\3rdParty\SSLCert\<FIleName>.pfx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -list -keystore D:\3rdParty\SSLCert\<FileName>.pfx -storepass "<Password>" -storetype PKCS12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Connector port="8090" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" | |
scheme="https" secure="true" clientAuth="false" | |
disableUploadTimeout="true" enableLookups="false" | |
sslProtocol = "TLS" | |
maxHttpHeaderSize="65536" maxThreads="200" acceptCount="100" | |
keystoreType="PKCS12" | |
keystoreFile="D:\3rdParty\SSLCert\<FileName>.pfx" | |
keyAlias="<fqdn>" | |
keystorePass="<password_here>" URIEncoding="UTF-8"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment