Category : ssl-certificate

I have a problem when generating the SSL certificate with LetsEncrypt. I have created my subdomain at my host with the DNS record CNAME. This certificate gives access to several Docker containers (Web, Db, Node) and the certificates are managed by a reverse proxy also under Docker. subdomain.domain.online.conf upstream subdomain.domain.online { server subdomain; } # ..

Read more

inside docker golang image i am trying to go install a package and fail on this error: go install google.golang.org/protobuf/cmd/[email protected]: google.golang.org/protobuf/cmd/[email protected]: invalid version: Get "https://proxy.golang.org/google.golang.org/protobuf/cmd/protoc-gen-go/@v/1.27.0.info": x509: certificate signed by unknown authority i tried installing CA certificates unsuccessfully any idea what could be the problem ? Source: Docker..

Read more

My ngnix.conf file is as shown below.. I am trying to hit www.example.com in browser, then the url is getting hit is like https://www.www.example.com// and this gives me en error. Also the url https://example.com is not working. server { #server_names_hash_bucket_size 64; listen 80; server_name *.example.com www.example.com example.com; server_tokens off; # Redirects http to https location ..

Read more

I’m developing this server hosted in a Kubernetes cluster which uses some basic certificate-based authentication. I have added the relevant parts of the server and client code but since this is quite a bit of lines I pasted it bellow with some explanatory text. The certificates used here were created based on this article. The ..

Read more

I’m having trouble getting my certificates sorted on my ubuntu ec2 instance – this is preventing me from getting my API up and running inside a docker container. I tested and got the container working successfully on my local windows machine, but getting the certificates working on my ec2 instance seems a bit more involved. ..

Read more

I generated a CA certificate, then issued a certificate based on it for a private registry, that located in the same GKE cluster. Put the server certificates to the private registry and the CA certificate to all GKE nodes and run: update-ca-certificates && systemctl restart docker Images are building and putting into the private registry ..

Read more

I have a private docker registry in a google cloud k8s cluster that could be accessed only by IP. What I’ve tried to do: Wrote script to generate self-signed certificate. Use generated self-signed client key and certificate on the docker registry side. Put CA certificate on each k8s node to /etc/ssl/certs/registry-proxy-ca.pem and run systemctl restart ..

Read more