Update services' Go docker version; Update minimum TLS on server

This commit is contained in:
mitchell 2020-02-14 11:58:49 -05:00
parent e4e4e0f5bc
commit 99f6c42e0d
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.12 as build
FROM golang:1.13 as build
WORKDIR /go/src/github.com/mitchell/selfpass/services
COPY . .
ENV GO111MODULE on

View File

@ -61,7 +61,7 @@ func main() {
Certificates: []tls.Certificate{keypair},
ClientCAs: caPool,
ClientAuth: tls.RequireAndVerifyClientCert,
MinVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS13,
PreferServerCipherSuites: true,
CurvePreferences: []tls.CurveID{
tls.CurveP256,