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

failed to read CA certificate(s) #3623

Closed
phil-davis opened this issue Apr 29, 2022 · 1 comment · Fixed by #3632
Closed

failed to read CA certificate(s) #3623

phil-davis opened this issue Apr 29, 2022 · 1 comment · Fixed by #3632
Assignees
Labels

Comments

@phil-davis
Copy link
Contributor

Describe the bug

ocis sometimes gets the following fatal error on startup - see below.

Steps to reproduce

Run CI and sometimes:
https://drone.owncloud.com/owncloud/ocis/11077/50/5

latest: Pulling from owncloudci/alpine
Digest: sha256:326b0ab9ec8a2fe12247b5c54e37f7afd2daa179fe7bd2a3d376b2d3139d2297
Status: Image is up to date for owncloudci/alpine:latest
+ ocis/bin/ocis server
{"level":"fatal","service":"idp","error":"failed to read CA certificate(s) from '/root/.ocis/ldap/ldap.crt': open /root/.ocis/ldap/ldap.crt: no such file or directory","time":"2022-04-29T06:34:31Z","message":"could not bootstrap idp"}

Expected behavior

ocis starts without error

Actual behavior

"could not bootstrap idp"

Setup

drone CI

@phil-davis
Copy link
Contributor Author

Can happen in API test pipelines as well as UI test pipelines, so it is not related to any difference between those (if any)
https://drone.owncloud.com/owncloud/ocis/11083/25/3

@rhafer rhafer self-assigned this Apr 29, 2022
rhafer added a commit to rhafer/ocis that referenced this issue Apr 29, 2022
Upon first start with the default configurtation the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.

Fixes: owncloud#3623
rhafer added a commit to rhafer/ocis that referenced this issue Apr 29, 2022
Upon first start with the default configurtation the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.

Fixes: owncloud#3623
@micbar micbar mentioned this issue May 5, 2022
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants