A badge consists of the text “SSL Hound” and the endpoint being monitored. The background color depends on the status of the check. It will be green if everything is OK, yellow if there are warnings, red if there are errors, and grey if we don't know.
Here are some examples:
Step 1: Monitor the endpoint through SSL Hound
If you haven't already added the endpoint to SSL Hound, now is a good time to do so. The monitoring agents run regularly, but to ensure that your badge is accurate, it is a good idea to verify the status of the check on your dashboard.
Not all of the information displayed on the dashboard will be displayed on the badge. You can use the public preview URL to see what the badge links to, as well.
The format of public preview URLS is https://www.sslhound.com/v/[DOMAIN].
Step 2: Embedd the HTML
The widget is an img tag for the status image wrapped in an a tag that links to the public preview page for the endpoint.
The format of the src URL of the img tag is https://www.sslhound.com/v/[DOMAIN]/badge.png.
The URL of the href attribute of the a tag is the public preview URL as described earlier in this article.
The complete widget looks like this:
My endpoint has specific port. Can I still use a badge?
Just append the port to the [DOMAIN] placeholders.
Lastly: Let Us Help
If you ever have any questions or concerns, we’re just a single tweet, email, or help doc away. We’re always happy to help, and we know this stuff can be tricky at times. So please don’t hesitate to reach out if there’s anything we can do to make migrating to SSL Hound easier for you.