You can use the configureOAMOSCSPCertValidation online command to update the OAM OCSP configuration.
It includes the following:
Updating or adding an OCSP responder URL and subject details to the "certpathvalidationocspurltocamap"
Clearing the newly added configuration; for example, "certpathvalidationocspurltocamap"
Setting or unsetting the "useJDKOCSP" flag to enable or disable JDK OCSP
Description
Updates the OAM OCSP configuration by adding/modifying the OCSP responder URL and subject details in the certpathvalidationocspurltocamap property and enabling/disabling the use of the JDK OCSP Checker.
Syntax
configureOAMOCSPCertValidation(url, subject, clear (optional), display (optional), useJDKOCSP (optional))
Argument | Definition |
---|---|
url
|
Mandatory. Takes as a value the valid URL. |
subject
|
Mandatory. Takes the details being modified. |
clear
|
Optional. Takes a value of true or false. |
display
|
Optional. Takes a value of true or false. |
useJDKOCSP
|
Optional. Takes a value of true or false. |
Examples
The following example enables the OAM OCSP and sets the Responder URL and subject.
configureOAMOCSPCertValidation(url="http://sample:9898", subject="cert-subject-detail")
The following example enables the OAM OCSP and updates the Responder URL and subject.
configureOAMOCSPCertValidation(url="http://sample:9898", subject="details changed/updated")
The following example disables and clears the OAM OCSP.
configureOAMOCSPCertValidation(url="http://sample:9898", subject="subject-detail", clear="true")
The following example enables/disables the JDK OCSP.
configureOAMOCSPCertValidation(url="http://sample:9898", subject="details changed/updated", useJDKOCSP="true")