Skip to content

tls: failed to verify certificate: x509: certificate signed by unknown authority #101

Closed Answered by seepine
seepine asked this question in Support
Discussion options

You must be logged in to vote

Need cert, for alpine apk add ca-certificates, for scratch

FROM alpine:3 as builder
RUN apk add --no-cache ca-certificates

FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@seepine
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by seepine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants