<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add New Monitor - Accepted Status Codes]]></title><description><![CDATA[<p dir="auto">Wasn't able to find any viable solution for this one, hoping someone will be able to help out.</p>
<p dir="auto">We're trying to add certain websites on Uptime Kuma to monitor their Certificate Expiration Dates. Do we need to follow strict Status Codes on it? Like if we wanted certificates should we only use 400-499 every time?</p>
<p dir="auto">Using the <code>curl</code> method ( curl -i <em>website link</em> ) on cmd/terminal to check seems like a hit or miss most of the time</p>
]]></description><link>https://forum.cloudron.io/topic/8485/add-new-monitor-accepted-status-codes</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 17:53:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8485.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jan 2023 03:55:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add New Monitor - Accepted Status Codes on Thu, 19 Jan 2023 09:04:10 GMT]]></title><description><![CDATA[<p dir="auto">BTW, if you end up opening upstream for TCPS, you should also tell them to add STARTTLS as an option.</p>
<p dir="auto"><code>openssl s_client -connect mail.domaincom:25 -showcerts -starttls smtp</code> will help test the cert of a mail server for protocols like sieve, smtp that use starttls.</p>
]]></description><link>https://forum.cloudron.io/post/60454</link><guid isPermaLink="true">https://forum.cloudron.io/post/60454</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 19 Jan 2023 09:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to Add New Monitor - Accepted Status Codes on Thu, 19 Jan 2023 09:04:20 GMT]]></title><description><![CDATA[<p dir="auto">In uptime kuma, the cert check is an option of http status check. Technically, the cert check happens before the http request.  You would do something like <code>openssl s_client -connect cloudron.io:443 -showcerts</code> .</p>
<p dir="auto">I see that uptime kuma does not have this cert check as a separate thing and neither is it part of the TCP check type (maybe, you can suggest upstream to add a TCPS type. this will help in checking mail server and other services as well like jabber, matrix maybe).</p>
<p dir="auto">If the goal is only to check the certs, I would put the HTTP status code range as 100-500 as a workaround since one can safely ignore this....</p>
]]></description><link>https://forum.cloudron.io/post/60453</link><guid isPermaLink="true">https://forum.cloudron.io/post/60453</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 19 Jan 2023 09:04:20 GMT</pubDate></item><item><title><![CDATA[Reply to Add New Monitor - Accepted Status Codes on Thu, 19 Jan 2023 07:47:06 GMT]]></title><description><![CDATA[<p dir="auto">hmm.. I think it depends on the actual website. A status code in the range of <code>400-499</code> would be a return code that signals a kind of error (file not found, or unauthenticated). So if you normally curl your website and get a <code>403</code> then it would make sense to use it.</p>
<p dir="auto">Generally I would say even if you only monitor because you want to get a certificate expiry I would monitor for the expected http return as well. If the <code>/</code> of your website is huge, you could create some kind of dummy file on your webserver that you query instead. For a wordpress site I am monitoring I am querying the license file for example.</p>
]]></description><link>https://forum.cloudron.io/post/60449</link><guid isPermaLink="true">https://forum.cloudron.io/post/60449</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 19 Jan 2023 07:47:06 GMT</pubDate></item></channel></rss>