You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2021/08/30 07:15:41 [ERROR] [internal,edge,stack] [message: an error occured during stack management] [error: Get https://osl-portainer1:9000/api/endpoints/15/edge/stacks/1: x509: certificate signed by unknown authority]
2021/08/30 07:15:41 [ERROR] [internal,edge,poll] [message: an error occured during short poll] [error: Get https://osl-portainer1:9000/api/endpoints/15/edge/stacks/1: x509: certificate signed by unknown authority]
Hi, that might actually be solved in one of our preview versions.
Please give it a try by using the images portainerci/agent:kubernetes-edge-stacks and portainerci/portainer:pr5276 and let us know how it's working.
Note that this is a development build and should not be used in a production environment.
FROM portainerci/agent:kubernetes-edge-stacks
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
ENV SSL_CERT_DIR=/etc/ssl/certs/
# Can't use curl++ since its a scratch container
ADD ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ADD ca-certificates.crt /usr/local/share/ca-certificates/
Hi! I got an wierd issue with the edge agent.
What i can see:
What i expected:
That portainer respects the cert bundle added to /usr/local/share/ca-certificates/
As per this SO post https://stackoverflow.com/questions/40051213/where-is-golang-picking-up-root-cas-from
Or that EDGE_INSECURE_POLL would make us ignore the cert.
#Misc
Docker-compose file:
Dockerfile:
Did not work without the ENV settings either
The text was updated successfully, but these errors were encountered: