Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install a new .ca certificate file into an alpine docker? #315

Closed
kylemanel opened this issue Jul 24, 2017 · 5 comments
Closed

How to install a new .ca certificate file into an alpine docker? #315

kylemanel opened this issue Jul 24, 2017 · 5 comments
Labels

Comments

@kylemanel
Copy link

I have a ca-cert.ca file and when I run:
update-ca-certificates corp.inbaytech.com-CA.crt
I receive:
WARNING: ca-cert.crt does not contain exactly one certificate or CRL: skipping

I am unsure how to import this certificate into my docker.

Any assistance would be incredibly valuable

@andyshinn
Copy link
Contributor

I'm confused. Is your file named ca-cert.crt? Does it contain multiple entries?

@kylemanel
Copy link
Author

No its' a single cert encapsulated by -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----

@andyshinn
Copy link
Contributor

OK, the warning is normal. It is just saying that the ca-certificates.crt file has multiple certificates in the file and it is skipping it. It is related to #52 and #30.

Is the certificate actually not present in /etc/ssl/ca-certiciates.crt after importing?

@kylemanel
Copy link
Author

Ah, gotcha.

On further review the certificate is present in /etc/ssl/certs/ca-certificates.crt which I suspect is equivalent to your spec.

@andyshinn
Copy link
Contributor

It sounds like it is working as desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants