Troubleshooting
Problem
When you use the default IBM® Maximo® Predict notebooks in IBM® Watson® Studio to call the IBM Maximo® Monitor API, the SSLCertVerificationError error occurs.
Resolving The Problem
This issue occurs if you use a self-signed certificate for Maximo Monitor. For production environments, use a trusted public certificate.
To resolve the problem, complete the following steps:
- Retrieve the monitor_url value. This value is used to create an environment variable.
- As an administrator, log in to Red Hat® OpenShift® web console.
- From the Project field, open the monitor project.
- From the cluster dashboard, in the navigation menu, click Networking > Routes.
- Open the monitor-datalake-main route.
- Copy the value from the Location field, excluding the ‘api/datalake’ directory. The resulting URL is the monitor_url value.
- Create an environment variable.
- In the notebook, run the following commands in the following order. Replace the {monitor_url} variable with the monitor_url value.
os.environ['isICP']='true'
os.environ['REST_METADATA_URL']={monitor_url}
os.environ['REST_KPI_URL']={monitor_url}
- In the notebook, run the following commands in the following order. Replace the {monitor_url} variable with the monitor_url value.
- Retrieve the Maximo Monitor certificate.
- As an administrator, log in to OpenShift web console.
- From the Project field, open the monitor project.
- From the cluster dashboard, in the navigation menu, click Workloads > Secrets.
- Open the public-monitor-tls secret.
- In the Data section, click Reveal Values.
- Copy the value that is in the ca.crt field. If the field is empty, copy the value in the tls.crt field.
- Paste the value into a .txt file and then save the file as ca_public_cert.pem
- Import the .pem certificate file in to IBM Cloud Pak for Data as a data asset. For more information, see the IBM Cloud Pak for Data online product documentation (https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_latest/wsj/manage-data/add-data-project.html)
Document Location
Worldwide
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m0z000000cxN3AAI","label":"Maximo Health"},{"code":"a8m0z000000cxN8AAI","label":"Maximo Predict"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.2.0;8.3.0"}]
Was this topic helpful?
Document Information
Modified date:
02 February 2021
UID
ibm16409918