This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use signature algorithm from the wpr-go root cert.
MintServerCert creates a template based on the origin's signature algorithm, but the public key is taken from wpr-go's root certificate. In some cases, these may be incompatible, which results in seeing the error: """ TLS handshake error from 127.0.0.1:43524: create cert failed: x509: requested SignatureAlgorithm does not match private key type. """ It's impossible to use a single root certificate that has a public key that works for any possible signature algorithm. Instead, we override the signature algorithm from the wpr-go root certificate. Bug: catapult:#4272 Change-Id: I1ca74d0ae2ecb230f9e03143d385830a2367398b Reviewed-on: https://chromium-review.googlesource.com/922891 Commit-Queue: Tom Bergan <tombergan@chromium.org> Reviewed-by: Tom Bergan <tombergan@chromium.org>
- Loading branch information