keytool -importcert
command.
keytool
commands reside.
cd
/usr/java/jdk_version/bin
./keytool –importcert –keystore "SAS-installation-directory /SASPrivateJavaRuntimeEnvironment/9.4/jre/lib/security/cacerts" –storepass changeit –alias myhost –file path-to-keystore.jks
keytool
command
must be on one line. It is shown on more than one line in the preceding
code sample for display purposes only.
keytool
command, see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/keytool.html.
Value
|
Description
|
Examples
|
---|---|---|
SAS-installation-directory
|
Location on the machine
where SAS is installed
|
C:\Program
Files\SASHome\SASPrivateJavaRuntimeEnvironment\9.4\jre\lib\security |
myhost
|
Fully qualified machine
name
|
my_server.example.com
|
path-to-keystore.jks
|
Absolute path to the
keystore
Refer toCertificate Locations.
|
/opt/certs/my_keystore.jks |
path-to-keytool-command/keytool -list -keystore /SAS-installation-directory /SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.jks
/usr/java/jdk1.8.0_45/bin/keytool -list -keystore /opt/SASHome/SASSecurityCertificateFramework/1.1/cacerts/trustedcerts.jks
intca, Oct 15, 2015, trustedCertEntry, Certificate fingerprint (SHA1): 12:4D:C9:88:CD:D5:F3:E9:9E:29:D8:AB:F1:00:AD: 93:60:61:11:45 cn=twca root certification authority,ou=root ca,o=taiwan-ca, c=tw, Jun 2, 2015, trustedCertEntry, Certificate fingerprint (SHA1): CF:9E: 87:6D:D3:EB:FC:42:26:97:A3:B5:A3:7A:A0:76:A9:06:23:48 rootca, Oct 15, 2015, trustedCertEntry, Certificate fingerprint (SHA1): 57:7B:1E:D7:16:5D:5F:44:EB:79:AB:40:FA:98:49 :DD:DF:4F:B5:F7 cn=microsec e-szigno root ca,ou=e-szigno ca,o=microsec ltd., l=budapest,c=hu, Jun 2, 2015, trustedCertEntry,