<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://www.vanderschaft.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=FreeBSD%3A_install_new_rootCA</id>
	<title>FreeBSD: install new rootCA - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://www.vanderschaft.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=FreeBSD%3A_install_new_rootCA"/>
	<link rel="alternate" type="text/html" href="https://www.vanderschaft.net/mediawiki/index.php?title=FreeBSD:_install_new_rootCA&amp;action=history"/>
	<updated>2026-09-12T05:13:22Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://www.vanderschaft.net/mediawiki/index.php?title=FreeBSD:_install_new_rootCA&amp;diff=14&amp;oldid=prev</id>
		<title>Dschaft: Nieuwe pagina aangemaakt met &#039;To install a CA certificate on FreeBSD, you need to copy the certificate to the appropriate directory,  calculate its hash, and create a symbolic link using the hash. This process ensures that the system recognizes the certificate as a trusted Certificate Authority.   Here&#039;s a more detailed breakdown:  1. Copy the certificate:  Place the CA certificate file (usually a .crt or .pem file) in the /usr/local/etc/ssl/certs directory. If the directory doesn&#039;t exist,…&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.vanderschaft.net/mediawiki/index.php?title=FreeBSD:_install_new_rootCA&amp;diff=14&amp;oldid=prev"/>
		<updated>2025-07-16T14:49:45Z</updated>

		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;To install a CA certificate on FreeBSD, you need to copy the certificate to the appropriate directory,  calculate its hash, and create a symbolic link using the hash. This process ensures that the system recognizes the certificate as a trusted Certificate Authority.   Here&amp;#039;s a more detailed breakdown:  1. Copy the certificate:  Place the CA certificate file (usually a .crt or .pem file) in the /usr/local/etc/ssl/certs directory. If the directory doesn&amp;#039;t exist,…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To install a CA certificate on FreeBSD, you need to copy the certificate to the appropriate directory, &lt;br /&gt;
calculate its hash, and create a symbolic link using the hash. This process ensures that the system recognizes the certificate as a trusted Certificate Authority. &lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s a more detailed breakdown:&lt;br /&gt;
&lt;br /&gt;
1. Copy the certificate:&lt;br /&gt;
&lt;br /&gt;
Place the CA certificate file (usually a .crt or .pem file) in the /usr/local/etc/ssl/certs directory. If the directory doesn&amp;#039;t exist, create it. &lt;br /&gt;
&lt;br /&gt;
2. Calculate the hash:&lt;br /&gt;
&lt;br /&gt;
Use the openssl x509 -inform PEM -subject_hash_old -in &amp;lt;certificate_file&amp;gt; command to determine the hash value of the certificate. The -subject_hash_old option ensures compatibility with older systems. &lt;br /&gt;
&lt;br /&gt;
3. Create the symbolic link:&lt;br /&gt;
&lt;br /&gt;
Create a symbolic link in the same directory using the calculated hash as the filename, followed by .0. The link should point to the original certificate file. &lt;br /&gt;
&lt;br /&gt;
4. Rehash:&lt;br /&gt;
&lt;br /&gt;
Run the certctl rehash command to update the certificate store and make the new certificate available. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s say your certificate file is my-ca.pem. &lt;br /&gt;
Copy: &lt;br /&gt;
 sudo cp my-ca.pem /usr/local/etc/ssl/certs/&lt;br /&gt;
&lt;br /&gt;
Calculate hash: &lt;br /&gt;
 hashed_name=$(openssl x509 -inform PEM -subject_hash_old -in /usr/local/etc/ssl/certs/my-ca.pem | head -1)&lt;br /&gt;
&lt;br /&gt;
Create link: &lt;br /&gt;
 sudo ln -s /usr/local/etc/ssl/certs/my-ca.pem /usr/local/etc/ssl/certs/$hashed_name.0&lt;br /&gt;
&lt;br /&gt;
Rehash: &lt;br /&gt;
 sudo certctl rehash&lt;br /&gt;
&lt;br /&gt;
After these steps, your FreeBSD system should recognize and trust the new CA certificate.&lt;/div&gt;</summary>
		<author><name>Dschaft</name></author>
	</entry>
</feed>