google / sxg-validator

Apache License 2.0
2 stars 3 forks source link

Try to figure out cert-url from a few places #9

Open twifkak opened 2 years ago

twifkak commented 2 years ago
  1. If the SXG warning message includes "will be ingested asynchronously from ...", parse the cert-url from there.
  2. Otherwise, just guess a path of /cdn-fpw/sxg/cert.pem.msg as that is the most common.

This will help display cert errors, if they are the cause of downstream SXG errors.