Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.

Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |

Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Certificates scripts
From version 9.2x, you can automatically process certificate requests using a script. The following functions are available:
-
Grant the request.
-
Deny the request.
-
Ignore the request, leaving it to be granted or denied manually.
A Groovy script dealing with certificate requests is provided with the installation (see Example), which can be used as the basis for a custom scripts.

The certificate script class is instantiated the first time a certificate is requested. The process()
method is called every time a certificate is requested.
-
Scripts are executed in the following working directory on the OMi gateway server:
hpbsm_opr-scripting-host
-
Logging information is written to the following log file:
<OMi_HOME>/log/opr-scripting-host/opr-scripting-host.log

Scripts are stored in the database, and can be accessed from the OMi console.
To configure a certificate script:
-
In OMi, navigate to the Certificate Requests manager:
Administration > Setup and Maintenance > Certificate Requests
Alternatively, click Certificate Requests.
The Certificate Requests tab lists all certificate requests that have been received during the time range selected in the drop-down list.
-
Click the Autogrant Script tab. The default Autogrant Script is shown, which grants or denies certificates based on the value of the request's
nodeName
attribute. The default script is not activated by default.-
To customize the script, click
Edit Item, or double-click the script window, and make the required changes.
-
To activate the script, click
Activate Item.
-
Only one script can be configured as certificate script. The script is activated as soon as it is configured. If no certificate scripts is needed, deactivate the Autogrant Script script by clicking Deactivate Item.

The following example grants or denies certificate request based on the requester's subnet.
import java.net.InetAddress; import java.util.Date; import java.util.List; import com.hp.opr.api.scripting.CertificateRequest; class AutoGrantTest { def init() { } def destroy() { } Boolean boolInSubnet( String IPAddress ) { // Check if the passed IP address // is in the allowed subnet. String stringAllowedSubnet = "128.0"; ByteOne = IPAddress.indexOf('.'); ByteTwo = IPAddress.indexOf('.', ByteOne + 1 ); String stringSubnet; stringSubnet = IPAddress.substring( 0, ByteTwo ); return( stringSubnet.equals( stringAllowedSubnet ) ); } def process(List<CertificateRequest> requests) { // Retrieve the first request object. def request = requests.get(0); if ( boolInSubnet( request.getIpAddress() ) ) { request.deny(); } else { request.grant(); } } }
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: