Steps to find the expiration date of certificate file $NE_BASE/inst/$CONTEXT_NAME/certs/Apache/cwallet.sso
$ cd $NE_BASE/inst/$CONTEXT_NAME/certs/Apache
$ alias orapki=$FMW_HOME/oracle_common/bin/orapki
$ orapki wallet display -wallet ./cwallet.sso
-- Note: file cwallet.sso does not ask for the password
Requested Certificates:
User Certificates:
Subject: CN=siteName.domian.com,O=CompanyName,L=cityName,ST=AZ,C=US
Trusted Certificates:
Subject: CN=DigiCert High Assurance EV Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US
Subject: CN=CompanyName Secure CA2,O=ComanyName,C=US
$ orapki wallet export -wallet ./cwallet.sso -dn "CN=siteName.domian.com,O=CompanyName,L=cityName,ST=AZ,C=U" -cert siteName_certs.cer
$ orapki cert display -cert ./siteName_certs.cer -summary
Subject: CN=siteName.domian.com,O=CompanyName,L=cityName,ST=AZ,C=US
Issuer: CN=CompanyName Secure CA2,O=ComanyName,C=US
Valid Until: Fri Jul 16 19:59:59 EDT 2021
No comments:
Post a Comment