<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>opendnssec &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/tag/opendnssec/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Mon, 23 Oct 2023 18:38:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Change SoftHSM SO / USER Pin</title>
		<link>https://arunns.net/change-softhsm-so-user-pin/</link>
					<comments>https://arunns.net/change-softhsm-so-user-pin/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Sun, 16 Aug 2020 15:39:03 +0000</pubDate>
				<category><![CDATA[DNSSEC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenDNSSEC]]></category>
		<category><![CDATA[SoftHSM]]></category>
		<category><![CDATA[opendnssec]]></category>
		<category><![CDATA[softhsm]]></category>
		<category><![CDATA[softhsm pin]]></category>
		<guid isPermaLink="false">https://letushare.com/?p=892</guid>

					<description><![CDATA[we&#8217;ll explore how to change these pins using the pkcs11-tool utility, assuming that you already know the existing pin. Why Change User and SO Pins? Changing your User and SO pins is an essential practice to ensure the security of your cryptographic storage. It helps safeguard your sensitive data and maintain the integrity of your [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>we&#8217;ll explore how to change these pins using the <code>pkcs11-tool</code> utility, assuming that you already know the existing pin.</p>



<p><strong>Why Change User and SO Pins?</strong></p>



<p>Changing your User and SO pins is an essential practice to ensure the security of your cryptographic storage. It helps safeguard your sensitive data and maintain the integrity of your system.</p>



<p><strong>Changing the SO Pin</strong></p>



<p>The SO pin, or Security Officer pin, is the master pin that provides access to all functions within the SoftHSM. To change it, follow these steps:</p>



<ul>
<li>Open your terminal and run the following command:</li>
</ul>



<p>pkcs11-tool &#8211;module /usr/lib64/pkcs11/libsofthsm2.so &#8211;login &#8211;login-type so &#8211;change-pin</p>



<p>Make sure to replace <code>--module</code> with the actual path to <code>libsofthsm2.so</code>.</p>



<p><strong>Changing the User Pin</strong></p>



<p>The User pin is specific to individual users and provides access to their cryptographic storage. To change it, use the following command:</p>



<ul>
<li>In your terminal, enter the following command:</li>
</ul>



<p>pkcs11-tool &#8211;module /usr/lib64/pkcs11/libsofthsm2.so &#8211;login &#8211;login-type user &#8211;change-pin</p>



<p>replace <code>--module</code> with the correct path to <code>libsofthsm2.so</code>.</p>



<p><strong>Using a Different Slot</strong></p>



<p>In some cases, you might need to work with a different slot. To specify a different slot, you can use the <code>--slot</code> option followed by the slot number. For example:</p>



<p>pkcs11-tool &#8211;module /usr/lib64/pkcs11/libsofthsm2.so &#8211;login &#8211;login-type so &#8211;change-pin &#8211;slot 1</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/change-softhsm-so-user-pin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
