<?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[[Solved] need to add an upstream certificate for my FW.]]></title><description><![CDATA[<p dir="auto">So, here's a new one.</p>
<p dir="auto">I'm running pfSense in my test lab to mess with virtual routing and SDNs. My internet connection is provided by my school so I'm dealing with their MITM certificate for our Fortigate FW.</p>
<p dir="auto">I added the certificate to the system via CAs in the certs menu of the webconfigurator, but when trying to check for updates the system says it's up to date (which I know it's not), and when trying to update from console I get this:</p>
<pre><code>&gt;&gt;&gt; Updating repositories metadata...
Updating pfSense-core repository catalogue...
pkg-static: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
pkg-static: https://pkg.pfsense.org/pfSense_v2_4_2_amd64-core/meta.txz: Authentication error
repository pfSense-core has no meta file, using default settings
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
pkg-static: https://pkg.pfsense.org/pfSense_v2_4_2_amd64-core/packagesite.txz: Authentication error
Unable to update repository pfSense-core
Updating pfSense repository catalogue...
pkg-static: Repository pfSense load error: access repo file(/var/db/pkg/repo-pfSense.sqlite) failed: No such file or directory
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
pkg-static: https://pkg.pfsense.org/pfSense_v2_4_2_amd64-pfSense_v2_4_2/meta.txz: Authentication error
repository pfSense has no meta file, using default settings
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
Certificate verification failed for /C=US/ST=California/L=Sunnyvale/O=Fortinet/OU=Certificate Authority/CN=FGT37D4614800867/emailAddress=support@fortinet.com
12462424:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_1_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1264:
pkg-static: https://pkg.pfsense.org/pfSense_v2_4_2_amd64-pfSense_v2_4_2/packagesite.txz: Authentication error
Unable to update repository pfSense
</code></pre>
<p dir="auto">I understand this isn't a normal requirement, but I'm not sure where to go from here, I've even tried amending the certificate to```<br />
/usr/local/share/certs/ca-root-nss.crt</p>
<pre><code class="language-,">
TLDR: I need to install a root CA but I can't for the life of me get pfSense to accept the certificate as valid.</code></pre>
]]></description><link>https://forum.netgate.com/topic/125582/solved-need-to-add-an-upstream-certificate-for-my-fw</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 07:04:45 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/125582.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jan 2018 18:21:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] need to add an upstream certificate for my FW. on Thu, 11 Jan 2018 13:47:57 GMT]]></title><description><![CDATA[<p dir="auto">So, solution update. Editing the files via the webconfigurator was my problem. It seems as though the editor was saving blank files instead of my changes, and as such nothing was working. I edited the files with VI and the cert was accepted into the system. I do still have a issue with a different upstream cert, but I can fix that based on my fix with this one.</p>
<p dir="auto">Thanks for everyone's help, I'll try to add a guide on my site for this because I couldn't find anywhere online that referenced both files.</p>
]]></description><link>https://forum.netgate.com/post/745385</link><guid isPermaLink="true">https://forum.netgate.com/post/745385</guid><dc:creator><![CDATA[Anony_Moose]]></dc:creator><pubDate>Thu, 11 Jan 2018 13:47:57 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] need to add an upstream certificate for my FW. on Thu, 11 Jan 2018 13:01:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/grimson">@<bdi>Grimson</bdi></a>:</p>
<blockquote>
<p dir="auto">@ipat8:</p>
<blockquote>
<p dir="auto">So I did this, and now both files are empty…..</p>
</blockquote>
<p dir="auto">pfSense doesn't empty them, it might overwrite them during an update but nothing more than that. So take the backup you made (you did backup these files before editing them, didn't you?) and try again.</p>
</blockquote>
<p dir="auto">It's a VM, I'll just reinstall, but moreover, they are empty, and the templates are empty as well. I edited them through the webUI, so I'll try with vi and see if that makes a difference.</p>
]]></description><link>https://forum.netgate.com/post/745367</link><guid isPermaLink="true">https://forum.netgate.com/post/745367</guid><dc:creator><![CDATA[Anony_Moose]]></dc:creator><pubDate>Thu, 11 Jan 2018 13:01:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] need to add an upstream certificate for my FW. on Wed, 10 Jan 2018 18:52:52 GMT]]></title><description><![CDATA[<p dir="auto">@ipat8:</p>
<blockquote>
<p dir="auto">So I did this, and now both files are empty…..</p>
</blockquote>
<p dir="auto">pfSense doesn't empty them, it might overwrite them during an update but nothing more than that. So take the backup you made (you did backup these files before editing them, didn't you?) and try again.</p>
]]></description><link>https://forum.netgate.com/post/745228</link><guid isPermaLink="true">https://forum.netgate.com/post/745228</guid><dc:creator><![CDATA[Grimson]]></dc:creator><pubDate>Wed, 10 Jan 2018 18:52:52 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] need to add an upstream certificate for my FW. on Wed, 10 Jan 2018 18:46:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/grimson">@<bdi>Grimson</bdi></a>:</p>
<blockquote>
<p dir="auto">There are two places where cerificates are stored on pfSense:</p>
<pre><code>
/usr/local/etc/ssl/cert.pem
/usr/local/share/certs/ca-root-nss.crt

</code></pre>
<p dir="auto">so try to add your cert to the list in /usr/local/etc/ssl/cert.pem too.</p>
</blockquote>
<p dir="auto">So I did this, and now both files are empty…..</p>
]]></description><link>https://forum.netgate.com/post/745227</link><guid isPermaLink="true">https://forum.netgate.com/post/745227</guid><dc:creator><![CDATA[Anony_Moose]]></dc:creator><pubDate>Wed, 10 Jan 2018 18:46:43 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] need to add an upstream certificate for my FW. on Wed, 10 Jan 2018 18:30:05 GMT]]></title><description><![CDATA[<p dir="auto">There are two places where cerificates are stored on pfSense:</p>
<pre><code>
/usr/local/etc/ssl/cert.pem
/usr/local/share/certs/ca-root-nss.crt

</code></pre>
<p dir="auto">so try to add your cert to the list in /usr/local/etc/ssl/cert.pem too.</p>
]]></description><link>https://forum.netgate.com/post/745222</link><guid isPermaLink="true">https://forum.netgate.com/post/745222</guid><dc:creator><![CDATA[Grimson]]></dc:creator><pubDate>Wed, 10 Jan 2018 18:30:05 GMT</pubDate></item></channel></rss>