HewlettPackard / HewlettPackard/oneview-sdk-java
SCMB authentication issue with a CA-signed certificate
- Dominant language
- Java
- Stars
- 16
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Scenario/Intent
We have some authentication problems with our SCMB when we use CA-Signed client certificates. With Self-signed certificate, our script works fine.
We have followed the instructions in the User Guide found here: https://support.hpe.com/hpesc/public/docDisplay?docId=sd00001194en_us&docLocale=en_US&page=s_create-CA-cert-SCMB.html and https://support.hpe.com/hpesc/public/docDisplay?docId=sd00001194en_us&docLocale=en_US&page=s_ts-security-connect-SCMB-CA-sign-cert.html
We are using the following:
```
SDKConfiguration sdkConfiguration = SDKConfiguration.create()
.withOneViewHostname(“x.x.x.x”)
.withOneViewUser(, )
.withOneViewApiVersion(ApiVersion.V_500)
.withTrustStore(“//TrustStore”, )
.build();
OneViewClient oneViewClient = new OneViewClient(sdkConfiguration);
MessageBusClient client = MessageBusClient.connect(sdkConfiguration, oneViewClient);
```
It fails in `MessageBusClient.connect` API call with message `sun.security.validator.ValidatorException: No trusted certificate found`
Our client certificate and SCMB server certificate are signed by our CA and our CA certificate is present in our host's trust store from which we run this Java login script.
What is the problem?
---
#### Environment Details
- **OneView Java SDK:**
3.2.1
- **OneView Appliance Version:**
6.30
- **OneView Client API Version:**
500
---
#### Attachments and Screenshots
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.