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
|
WORKDIR /go/src/github.com/mitchell/selfpass/services
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV GO111MODULE on
|
ENV GO111MODULE on
|
||||||
|
|
|
@ -61,7 +61,7 @@ func main() {
|
||||||
Certificates: []tls.Certificate{keypair},
|
Certificates: []tls.Certificate{keypair},
|
||||||
ClientCAs: caPool,
|
ClientCAs: caPool,
|
||||||
ClientAuth: tls.RequireAndVerifyClientCert,
|
ClientAuth: tls.RequireAndVerifyClientCert,
|
||||||
MinVersion: tls.VersionTLS12,
|
MinVersion: tls.VersionTLS13,
|
||||||
PreferServerCipherSuites: true,
|
PreferServerCipherSuites: true,
|
||||||
CurvePreferences: []tls.CurveID{
|
CurvePreferences: []tls.CurveID{
|
||||||
tls.CurveP256,
|
tls.CurveP256,
|
||||||
|
|
Loading…
Reference in New Issue