Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Superfluous "WARNING" in alert #5487

@ocket8888

Description

@ocket8888

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:

{
	"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:

{
	"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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions