ocket8888 opened a new issue #5487:
URL: https://github.com/apache/trafficcontrol/issues/5487


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Ops
   
   ## Current behavior:
   Adding an SSL certificate for a Delivery Service with a potentially bad cert 
chain gives back a warning alert like:
   ```json
   {
        "alerts": [{
                "text": "WARNING: SSL keys were successfully added for 
'\''demo1'\'', but the input certificate may be invalid (certificate 
verification produced a different chain)",
                "level":"warning"
        }]
   }
   ```
   
   ## Expected behavior:
   The alert is `warning`-level, so it doesn't need the `WARNING: ` prefix; 
alert should look like:
   ```json
   {
        "alerts": [{
                "text": "SSL keys were successfully added for '\''demo1'\'', 
but the input certificate may be invalid (certificate verification produced a 
different chain)",
                "level":"warning"
        }]
   }
   ```
   
   
   ## Minimal reproduction of the problem with instructions:
   You can actually just check the logs for the `trafficops` service in 
CDN-in-a-Box, it occurs in there when uploading certs for the `demo1` Delivery 
Service.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to