How to Set Up Slack Incoming Webhooks for SSL Alerts
Want to get SSL certificate expiration alerts directly in Slack? You're in the right place. In this guide, we'll walk through setting up Slack Incoming Webhooks so you can receive real-time notifications wherever your team already works.
What is a Slack Webhook?
Think of a webhook as a one-way street—it lets external apps (like GuardSSL) push messages directly into your Slack channels. No manual checking required. When your SSL certificate is about to expire, GuardSSL sends a message to your webhook URL, and boom—it shows up in Slack.
The best part? You don't need to install any Slack apps from the marketplace. You create your own simple integration in minutes.
Before You Start
Here's what you'll need:
- A Slack workspace (you should have admin or sufficient permissions)
- A Slack channel where you want alerts to appear
- Access to api.slack.com
Step 1: Create a Slack App
First, head over to the Slack API website and sign in with your Slack credentials.
- Click the bright green Create New App button
- Choose From scratch when prompted
- Give your app a name—something like "SSL Monitor" or "GuardSSL Alerts" works great
- Select the workspace where you want to receive notifications
- Hit Create App
You'll be taken to your app's settings page. Don't worry about most of the options here—we just need one feature.
Step 2: Enable Incoming Webhooks
Now let's turn on the magic:
- In the left sidebar, click Incoming Webhooks (under "Features")
- Toggle the switch at the top to On
- Scroll down—you'll see a section called "Webhook URLs for Your Workspace"
This is where things get interesting.
Step 3: Add a Webhook to Your Workspace
Click the Add New Webhook to Workspace button. Slack will ask you to pick a channel.
Choose the channel where you want SSL alerts to appear. This could be:
#alerts— if you have a dedicated alerts channel#devops— for your infrastructure team#general— if you want everyone to see (probably not ideal)- A private channel — for security-sensitive notifications
Click Allow to authorize the app.
Step 4: Copy Your Webhook URL
After authorization, you'll be redirected back to the Incoming Webhooks page. You'll now see a shiny new webhook URL that looks something like this:
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Click the Copy button next to it. This is your golden ticket.
Step 5: Configure in GuardSSL
Now head over to your GuardSSL dashboard:
- Go to Settings → Notification Settings
- Find the Slack card and click Setup Channel
- Paste your webhook URL in the Webhook URL field
- (Optional) Enter a channel name if you want to override the default
- Click Save
Want to make sure it works? Hit Test Connection. You should see a test message pop up in your Slack channel within seconds.
Customizing Your Notifications (Optional)
By default, GuardSSL sends nicely formatted messages with all the relevant details—domain name, expiration date, and urgency level. But you can also customize how your Slack app appears:
- Go back to your app settings at api.slack.com/apps
- Click on Basic Information in the sidebar
- Scroll down to Display Information
- Upload a custom icon (maybe GuardSSL's logo?) and set a default username
Security Best Practices
Your webhook URL is essentially a password. Anyone who has it can post messages to your channel. Keep these tips in mind:
- Never commit webhook URLs to public repositories
- Rotate your webhook if you suspect it's been leaked (just delete and create a new one)
- Use private channels for sensitive infrastructure alerts
- Limit webhook access to dedicated alert channels, not your main workspace channels
Troubleshooting
Messages not appearing?
Check that:
- Your webhook URL is correctly copied (no extra spaces)
- The channel still exists and hasn't been archived
- Your Slack app hasn't been uninstalled from the workspace
Getting rate limited?
Slack has rate limits for webhooks. If you're monitoring many domains with frequent checks, you might hit these. Consider:
- Batching notifications
- Adjusting your check frequency in GuardSSL settings
Wrapping Up
That's it! You've just connected GuardSSL to Slack. From now on, you'll get timely alerts about expiring SSL certificates right where you work—no more surprises, no more frantic last-minute renewals.
If you haven't already, add your first domain to start monitoring. Your future self will thank you when that certificate expiration reminder pops up 30 days early.
Need help with other notification channels? Check out our guides for Discord, Telegram, and Feishu.
Check Your SSL Certificate Now
Want to see these certificate details for your own website? Use our free SSL checker to instantly analyze your certificate's security, validity, and configuration.
No registration required • Instant results • 100% free