-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
certadd endpoint not working #829
Comments
Hi, have same issue. Can you help me? thank you. |
I guess this is a little outdated, but for anyone who faces this problem again. It is related to file permissions. |
hi @rchicoli I did chmod to 644 for ca-key.pem, but it didn't work. I still receive 404 Not Found. Could you please let me know what did you do? Thank you. My case:
|
it is hard to remember, because it happened a long time ago. But I guess this is how i fixed: - name: correct ca-key permissions
file:
path: "{{ cfssl_data_dir }}/ca-key.pem"
owner: "{{ cfssl_user }}" I was having this problem, because my service file was configured to run with a specific user and it did not have the right permissions to access the ca key [Unit]
Description=CFSSL Server
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
User={{ cfssl_user }}
Group={{ cfssl_group }}
... |
@r0039 I know this is a really old thread, but I am facing the same issues even with correct permissions. Did you manage to get it working after all? |
When posting against the endpoint /api/v1/cfssl/certadd I get a 404, example
returns:
404 page not found
Not sure if I'm missing something...
The text was updated successfully, but these errors were encountered: