Create a new wallet:
export PATH=$FMW_HOME/webtier/bin:$FMW_HOME/oracle_common/bin:$PATH
mkdir $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/
orapki wallet create -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/ -auto_login -pwd Admin1234
Use below command for CSR
orapki wallet add -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/ -pwd Admin1234 -validity 2000 -keysize 2048 -dn "CN=servername.domain, OU=IT, O=Company Name, L=CityName, ST=CityName, C=AE"
Display wallet:
orapki wallet display -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/
Export CSR to a file
orapki wallet export -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/ -dn "CN=servername.domain, OU=IT, O=Company Name, L=CityName, ST=CityName, C=AE" -request servername.csr
Import root
orapki wallet add -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/ -trusted_cert -cert /home/oracle/RootCA.crt -pwd Admin1234
Import Server/User/Signed certficate
orapki wallet add -wallet $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/ -user_cert -cert /home/oracle/servername.crt -pwd Admin1234
No comments:
Post a Comment