Re: [go-nuts] sqlserver error "TLS Handshake failed: x509: certificate signed by unknown authority"

2019-09-10 Thread Peggy Scott
Yes!! RUN apt-get update && apt-get install ca-certificates -y for amd64/ubuntu:18.04 On Tuesday, September 10, 2019 at 12:28:56 PM UTC-7, Marcin Romaszewicz wrote: > > You're missing the CA Root certificates for whatever linux distribution is > running your application. For example, I use

Re: [go-nuts] sqlserver error "TLS Handshake failed: x509: certificate signed by unknown authority"

2019-09-10 Thread Marcin Romaszewicz
You're missing the CA Root certificates for whatever linux distribution is running your application. For example, I use Alpine linux as my Docker base image for my Go services, and I must install the certificates like this via the Dockerfile: RUN apk update && apk add ca-certificates Find the

[go-nuts] sqlserver error "TLS Handshake failed: x509: certificate signed by unknown authority"

2019-09-10 Thread Peggy Scott
I am using a dockerized Golang image to connect to my Azure SQL server database. When I try to ping it, I am running into "TLS Handshake failed: x509: certificate signed by unknown authority". I am able to run my app from my box without dockerization without any issues. I am also able to able