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

06-netmaker-mq.yaml Error: Unable to load CA certificates. Check cafile "/mosquitto/certs/root.pem" #2

Open
pramit-live opened this issue Nov 5, 2023 · 0 comments

Comments

@pramit-live
Copy link

pramit-live commented Nov 5, 2023

    $ ./kubectl logs -f  netmaker-mq-64989ffc58-nft75 -n netmaker
    chown: /mosquitto/config/mosquitto.conf: Read-only file system
    chown: /mosquitto/certs: Read-only file system
    chown: /mosquitto/certs: Read-only file system
    1699185474: mosquitto version 2.0.11 starting
    1699185474: Config loaded from /mosquitto/config/mosquitto.conf.
    1699185474: Opening ipv4 listen socket on port 8883.
    1699185474: Opening ipv6 listen socket on port 8883.
    1699185474: Error: Unable to load CA certificates. Check cafile "/mosquitto/certs/root.pem".
    1699185474: Error: Unable to load server certificate "/mosquitto/certs/server.pem". Check certfile.
    1699185474: OpenSSL Error[0]: error:02001002:system library:fopen:No such file or directory
    1699185474: OpenSSL Error[1]: error:20074002:BIO routines:file_ctrl:system lib
    1699185474: OpenSSL Error[2]: error:140DC002:SSL routines:use_certificate_chain_file:system lib

I am getting the above errors in netmaker-mq. Do I need to create those files manually?
P.S.: My cluster ingress controller is traefik, and all site certificates are managed by it and the cert-manager.

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

1 participant