Category : ssl-certificate

I am running in Local using Docker an Ocelot API gateway (https://localhost:5010) service that calls a Dot net core API (https://localhost:5003). I used self signed certificates and both services are secure: To make it work locally I add in Ocelot.Development.json: "DownstreamPathTemplate": "/ActivityTypes", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ { "Host": "xplora.api", "Port": "443" } ], "UpstreamPathTemplate": "/ActivityTypes", ..

Read more

#Dockerfile FROM node:16-alpine as builder WORKDIR /app COPY package.json ./ COPY package-lock.json ./ COPY . /app/ RUN npm install –silent RUN npm install [email protected] -g –silent RUN npm run build # production environment FROM nginx:1.21.1-alpine COPY –from=builder /app/build /usr/share/nginx/html #RUN rm /etc/nginx/default COPY /nginx/default.conf /etc/nginx/sites-available/default.conf COPY /nginx/cert.crt /etc/nginx/sites-available COPY /nginx/ssl.key /etc/nginx/sites-available EXPOSE 443 CMD ["nginx", ..

Read more

I have Portainer CE 2.9.2 running in a docker container. I’m starting it with the –sslcert and –sslkey options to specify my own certificate, but the browser keeps showing the built-in certificate, self-signed by localhost and not my certificate. I’m starting Portainer with Ansible’s Community Docker module. The syntax is nearly identical to docker compose. ..

Read more

Trying to run docker-compose up -d on centos 7 But it throws the error ERROR: SSL error: HTTPSConnectionPool(host='<ip>’, port=2376): Max retries exceeded with url: /v1.35/networks/keycloak_default (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)’),)) or ERROR: SSL error: HTTPSConnectionPool(host='<ip>’, port=2376): Max retries exceeded with url: /v1.30/networks/web (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)’),)) ..

Read more

I am getting SSL error when I am trying to build the container. I have company.cert file which I’ve installed on the docker container still I am getting that error. I was getting this error while using requests library and turns out I had to install the certificates inside docker container too. My Dockerfile. FROM ..

Read more

Is it possible to run publicly available containers as-is when running reverse proxies that sign traffic with a custom root CA? Example: Zscaler internet security Corporate environments often run proxies. While it is possible to install a custom root CA certificate file into a custom-built docker image and successfully run the container (e.g. COPY … ..

Read more

I want to write logs in MongoDB using serilog-sinks-mongodb package. MongoDB url has ssl=true and we wana use that url to write logs. In IIS everything is going well and logs are getting inside the mongo DB. but on docker, I am getting following error. —> ClusterId : 1, EndPoint : "Unspecified/host:1037" }", EndPoint: "Unspecified/host:1037", ..

Read more