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

Generate-certs.sh for Dashboard fails with "error, no objects specified in config file" #352

Open
sgl-mnrch opened this issue May 5, 2023 · 3 comments

Comments

@sgl-mnrch
Copy link

When I try to run the generate-certs.sh file as described in the docs I get the following error:

❯ cd ../dashboard_http
❯ ./generate_certs.sh
Generating a 2048 bit RSA private key
...........................................................................................+++++
.+++++
writing new private key to 'key.pem'
-----
error, no objects specified in config file
problems making Certificate Request

Running the script for the cluster works.
There is also a dashboard.pem created, so I wonder why we need the http one.

@CyDickey-msr
Copy link

CyDickey-msr commented May 30, 2023

I ran into the same problem. Running certs/dashboard_http/generate_certs.sh generated key.pem, but not cert.pem.

Both this doc, this doc, and kustomization.yml mention both certs.

openssl/openssl#3536 provided some insight. Running openssl req -x509 -batch -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem -subj "/" generated a cert.pem for me.

@Usesir112
Copy link

Try to install openssl (brew install openssl) and retry generate again. It work for me 😀

@gecube
Copy link

gecube commented Sep 23, 2024

Don't you want to try #577 ? I just rebased it to the latest master and it works for me like a charm.

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

No branches or pull requests

4 participants