Importing a self-signed certificate not possible
See original GitHub issueWhat version of the credhub server you are using? 2.6.0
What version of the credhub cli you are using? 2.6.2
If you were attempting to accomplish a task, what was it you were attempting to do?
> credhub generate -n /selfsigned/cert --type=certificate --common-name="selfsigned" --self-sign
> credhub export --path=/selfsigned | credhub import --file=/dev/stdin
Credential '/selfsigned/cert' at index 0 could not be set: The provided CA value is not a valid X509 certificate authority.
Import complete.
Successfully set: 0
Failed to set: 1
- Credential '/selfsigned/cert' at index 0 could not be set: The provided CA value is not a valid X509 certificate authority.
One or more credentials failed to import.
What did you expect to happen? I would expect, that I can import things I have created using the CredHub-CLI and that they look exactly the same afterwards (ignoring the changed id)
What was the actual behavior? The self signed certificate can not be imported
Please confirm where necessary:
- I have included a log output
- My log includes an error message
- I have included steps for reproduction
If you are a PCF customer with an Operation Manager (PCF Ops Manager) please direct your questions to support (https://support.pivotal.io/)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Adding the self-signed certificate as trusted to a browser
In the tree pane, select Certificates (Local Computer) > Trusted Root Certification Authorities, right-click Certificates, and then select All Tasks > Import.
Read more >Import a Self-Signed Certificate on a Windows Host
To import a self-signed certificate on a Windows host, you export the certificate from your Horizon FLEX server and import it to the...
Read more >Configuring Internet Explorer to import self-signed certificates
You can configure Internet Explorer to import your self-signed certificates. You set Internet Explorer to accept the certificate, and then add the certificate...
Read more >5 Creating, Exporting, and Importing SSL Certificates
A self-signed certificate is one that you create for your server, in the server's KeyStore. You then export and import the exported certificate...
Read more >SSL errors 9318, 9407, 11748 importing a self-signed certificate
In this case, when a self-signed certificate is generated, the .PEM file might have all certificates in one file and only one hash...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all,
The CredHub and CredHub acceptance test was done
CredHub PR: #150 CredHub acceptance test PR: #7
Kind regards
@HappyTobi & @damzog I am happy to report that we have made a new release of CredHub (2.9.0) that includes this fix. As a result, I will close out this issue.