Docker Community Forums

Share and learn in the Docker community.

Cannot Save a Docker Secret


(Fsejoseph) #1

I have UCP up and running. I am trying to save a secret on the interface, but it will not let me and I do not know why. Nothing is wrong with my interface I save other secrets. Just when I try to save this code. I saved it before in another swarm. Would anyone know why?

File name: rc-site.conf

upstream backend {
server rocket-chat:3000;
server {
listen 443;
error_log /var/log/nginx/rocketchat.access.log;
ssl on;
ssl_certificate /run/secrets/rc.crt;
ssl_certificate_key /run/secrets/rc.key;
ssl_client_certificate /run/secrets/ca.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE
location / {
proxy_pass http://backend/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
proxy_redirect off;

(Fsejoseph) #2

My problem was “# don’t use SSLv3 ref: POODLE” I took this out and it let me save the file.