I tried to call a REST API in HTTPS for witch the certificate is mandatory (local company REST service). I don't find the way to pass the cert file or public key via the REST-Client.
For ex, if a try to call a std Semarchy REST API like Get Platform Status
I get error when I test it
As far I understand, the SSL certificate is missing from the request but I don't know who to provide it.
Who can call my HTTPS REST with the Semarchy REST-client?
Regards.
Best Answer
G
Guillaume RIVOLLIER
said
3 months ago
Hello Gregory,
You need to get the certificate from the API provider, then it should be imported in the JVM/JDK trustsore.
To do so, locate the JVM/JDK used by the tomcat.
Then, using a tool like keytool, we can import the certificate into the cacert of the jvm.
Gregory SCHMID
Hi,
I tried to call a REST API in HTTPS for witch the certificate is mandatory (local company REST service).
I don't find the way to pass the cert file or public key via the REST-Client.
For ex, if a try to call a std Semarchy REST API like Get Platform Status
I get error when I test it
As far I understand, the SSL certificate is missing from the request but I don't know who to provide it.
Who can call my HTTPS REST with the Semarchy REST-client?
Regards.
Hello Gregory,
You need to get the certificate from the API provider, then it should be imported in the JVM/JDK trustsore.
To do so, locate the JVM/JDK used by the tomcat.
Then, using a tool like keytool, we can import the certificate into the cacert of the jvm.
There are also GUI tools, but the CLI should be shipped with all JVM/JDK installation by default.
Feel free to open a support ticket if you still face issues.
Best Regards,
Guillaume R
- Oldest First
- Popular
- Newest First
Sorted by PopularGuillaume RIVOLLIER
Hello Gregory,
You need to get the certificate from the API provider, then it should be imported in the JVM/JDK trustsore.
To do so, locate the JVM/JDK used by the tomcat.
Then, using a tool like keytool, we can import the certificate into the cacert of the jvm.
There are also GUI tools, but the CLI should be shipped with all JVM/JDK installation by default.
Feel free to open a support ticket if you still face issues.
Best Regards,
Guillaume R
Gregory SCHMID
Thank for your answer.
I tried to do what you say, it's not working for me, I think I miss something
Guillaume RIVOLLIER
Hi Gregory,
Please double-check the certificate is the good one (the one used by the API service)
Also, please double-check the certificate is correctly imported into the cacert, with the following command :
If the issue persists, feel free to open a support ticket so we can investigate specifically the issue.
Best regards,
Guillaume R
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 297 topics