# Generate WAS admin console password
cat /opt/IBM/WebSphere85/AppServer/profiles/appprofile/properties/sas.client.props | grep -a2 "IIOP"; cat /opt/IBM/WebSphere85/AppServer/profiles/appprofile/properties/sas.client.props | grep -a2 "IIOP" | grep Password | awk -F{ '{print "{"$2}' | xargs /opt/IBM/WebSphere85/AppServer/java/bin/java -Djava.ext.dirs=/opt/IBM/WebSphere85/AppServer/plugins:/opt/IBM/WebSphere85/AppServer/lib com.ibm.ws.security.util.PasswordDecoder
# Renew WAS cert
###################################################
Client cert
###################################################
1.
/opt/IBM/WebSphere85/AppServer/java/bin/keytool -genkeypair -v -alias clientauth -keyalg RSA -keysize 2048 -validity 365 -sigalg SHA2withRSA -keystore clientauth-keystore.p12 -storetype pkcs12 -storepass abcdA2m7H0 -keypass abcdA2m7H0 -dname "CN=clientauth,O=The Corporation Limited,L=Hong Kong,C=CN"
2.
/opt/IBM/WebSphere85/AppServer/java/bin/keytool -certreq -alias clientauth -file clientauth-keystore.csr -keystore clientauth-keystore.p12 -storetype pkcs12
pwd: abcdA2m7H0
3. Import root
/opt/IBM/IBMIHS85/bin/gskcmd -cert -add -db clientauth-keystore.p12 -pw abcdA2m7H0 -file Root.cer -label abcdROOTCA
4. Import int
/opt/IBM/IBMIHS85/bin/gskcmd -cert -add -db clientauth-keystore.p12 -pw abcdA2m7H0 -file Int.cer -label abcdINTCA
5. Validation
/opt/IBM/IBMIHS85/bin/gskcmd -cert -receive -db clientauth-keystore.p12 -pw abcdA2m7H0 -file clientauth.cer
6. Check p12 status
/opt/IBM/IBMIHS85/bin/gskcmd -cert -details -db clientauth-keystore.p12 -pw abcdA2m7H0 -label clientauth
7. Import p12 into kdb
/opt/IBM/IBMIHS85/bin/gskcapicmd -cert -import -db clientauth-keystore.p12 -pw abcdA2m7H0 -target gss_fqdn.kdb -target_pw amh@2018Mar
###################################################
IHS cert
###################################################
1. Generate kdb/rdb/sth:
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -keydb -create -db gss_fqdn.kdb -pw amh@2018Mar -type cms -stash
2. Generate CSR:
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -certreq -create -db gss_fqdn.kdb -pw amh@2018Mar -size 2048 -dn "CN=gss_fqdn,O=The Corporation Limited,C=CN,L=Hong Kong" -file gss_fqdn.csr -label gss_fqdn
3. Verify CSR:
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -certreq -list -db gss_fqdn.kdb -pw amh@2018Mar
4. import root cer
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -cert -add -db gss_fqdn.kdb -pw amh@2018Mar -file Root.cer -label "abcd ORCA G2"
5. import issue cer
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -cert -add -db gss_fqdn.kdb -pw amh@2018Mar -file Int.cer -label "abcd Issuing CA02-G2"
6. receive signed cer
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -cert -receive -db gss_fqdn.kdb -pw amh@2018Mar -file gss_fqdn.cer
7. Trust server cert
keytool -import -v -file "c:\Memo\RBP\Lin\2017\2017_STMA\SRBPEQ-670 - Online HTTPS setup\AMH_UAT_Online\gss_fqdn.cer" -keystore "C:\Users\43384141\git\srbp-api\src\main\resources\key\abcdkeystore.jks" -alias gss_fqdn
keytool -import -v -file "c:\Memo\RBP\Lin\2017\2017_STMA\SRBPEQ-670 - Online HTTPS setup\AMH_UAT_Online\gss_fqdn.cer" -keystore "C:\Users\43384141\git\wealth-compliance-hk-abcd\src\main\resources\keyfiles\abcdkeystore.jks" -alias gss_fqdn
/opt/IBM/IBMIHS85/java/jre/bin/ikeycmd -cert -list -db gss_fqdn.kdb -pw amh@2018Mar
相关推荐
this was related to labview tutorial to learn for beginner
Preface The introduction of the IBM Personal Computer in 1982 fostered a technology revolution that has changed the way the world does business. Prior to that ...security review-related questions.
It was written with this philosophy : best performances, more secured and brings a lot of new functions This plugin is developped on WordPress 3.3, with the constant WP_DEBUG to TRUE. * ...
Reading retardation and bender gestalt performance READING RETARDATION AND BENDER GESTALT PERFORMANCE ...perceptual functioning was related to the development of reading skills (Becker, 1970; Conn
Reading retardation and bender gestalt performance READING RETARDATION AND BENDER GESTALT PERFORMANCE ...perceptual functioning was related to the development of reading skills (Becker, 1970; Conn
Componential analysis of analogical-reasoning performance of high and low achievers Psychology in the Schools Volume 27, July 1990 COMPONENTIAL ANALYSIS OF ...related to academic achievemen
Componential analysis of analogical-reasoning performance of high and low achievers Psychology in the Schools Volume 27, July 1990 COMPONENTIAL ANALYSIS OF ...related to academic achievemen
Kindergarten reasoning and...visual-motor integration, and verbal development was related to achievement scores in kindergarten, second grade, and third grade. Subjects were 52 children in the kinderga
Kindergarten reasoning and...visual-motor integration, and verbal development was related to achievement scores in kindergarten, second grade, and third grade. Subjects were 52 children in the kinderga
Javacore contains diagnostic information related to the JVM and a Java application captured at a point during execution. For example, the information can be about the operating system, the ...
Rather it was a language with Similar syntax and related semantics that was intended to model analog systems and be compatible with SPICE-class circuit simulation engines. The first implementation of...
Tris(N-pyrrolidinyl)phosphine Substituted Diiron Dithiolate Related to Iron-only Hydrogenase Active Site: Synthesis, Characterization and Electrochemical Properties,侯军,彭孝军,A tris(N-...
The first edition of this book was published in 1966 and the second in 1979. Phaselock was an unimaginably exotic subject in 1966, with limited applications and few practitioners. Now phaselock is a ...
Programs[1] is a 1976 book written by Niklaus Wirth covering some of the fundamental topics of computer programming, particularly that algorithms and data structures are inherently related. For ...
This is the same as the error(), except there are two sets of filenames and line numbers, one for the statement in which the block was malloc'd, and the other for the statement in which the block was ...
system was designed to store database related files, such as data files, control files, redo logs, archive logs, etc. OCFS2 is the next generation of the Oracle Cluster File System. It has been ...
gradle 构建 Java 简单示例 主要演示 如何 编写 build.gradle 文件来编译和运行 java程序 step: - gradle build - gradle run
The dataset is related with the marketing campaigns of a Portuguese banking institution. This data was picked up from UCI Machine Learning Repository. Link: ...
containing data from both block-design and event-related experiments revealed that functional brain activation was effectively detected and different response patterns were distinguished using our ...