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

Self Signed Certificate Error #25

Open
mymainmandeebo opened this issue Jan 10, 2025 · 1 comment
Open

Self Signed Certificate Error #25

mymainmandeebo opened this issue Jan 10, 2025 · 1 comment

Comments

@mymainmandeebo
Copy link

Getting this error when trying to connect via SSL. Is there a way to suppress the self signed cert or do I need to run on http only?

2025-01-10 12_42_04-Portainer _ local

@brombomb
Copy link

brombomb commented Jan 22, 2025

The underlying package library is axios so we can simply ignore it with an env var

using javascript:

process.env.NODE_TLS_REJECT_UNAUTHORIZED=0 

using docker:

docker run -it --rm \
  --name portainer-backup \
  --env NODE_TLS_REJECT_UNAUTHORIZED=0 \
  --env PORTAINER_BACKUP_URL="https://portainer:9443" \
  savagesoftware/portainer-backup:latest \
  info

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

No branches or pull requests

2 participants