mirror of https://github.com/mitchell/selfpass.git
Update services' Go docker version; Update minimum TLS on server
This commit is contained in:
parent
e4e4e0f5bc
commit
99f6c42e0d
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue