<?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>windows create certificate Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/windows-create-certificate/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 17 Nov 2020 09:32:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Create Self-signed Certificate on Windows</title>
		<link>https://www.osradar.com/create-self-signed-certificate-windows/</link>
					<comments>https://www.osradar.com/create-self-signed-certificate-windows/#comments</comments>
		
		<dc:creator><![CDATA[Mel K]]></dc:creator>
		<pubDate>Fri, 26 Jan 2018 08:15:28 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[create certificate offline]]></category>
		<category><![CDATA[create certificate on windows]]></category>
		<category><![CDATA[windows create certificate]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=1566</guid>

					<description><![CDATA[<p>Certificates are an essential part of ensuring security in sites. For adding a certificate, you need to buy a certificate or deploy your own Public Key Infrastructure. For running a successful production environment, it’s a must. However, when developing, obtaining a certificate in this manner is a hardship. Instead, you can create your own self-signed [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-self-signed-certificate-windows/">How to Create Self-signed Certificate on Windows</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Certificates are an essential part of ensuring security in sites. For adding a certificate, you need to buy a certificate or deploy your own Public Key Infrastructure. For running a successful production environment, it’s a must. However, when developing, obtaining a certificate in this manner is a hardship. Instead, you can create your own self-signed certificate on Windows.</p>
<p>In Windows, there are 2 different approaches to create a self-signed certificate.</p>
<h2><strong>Method 1</strong></h2>
<p>Here, I’m describing how to create one using PowerShell. For your knowledge, PowerShell is a task automation and configuration management framework developed and distributed by Microsoft as a part of Windows operating system. It works using a command-line shell and associated script language.</p>
<h3>Prerequisite</h3>
<p>Before jumping to the certificate generation, you need to make sure that your PowerShell is v5. To check your PowerShell version, follow these steps.</p>
<ul>
<li>From the Start menu, type “powershell” &gt;&gt; hit Enter.</li>
<li>Type the following command and press Enter:</li>
</ul>
<pre class="lang:default decode:true">$PSVersionTable.PSVersion
</pre>
<p><img loading="lazy" class="wp-image-1567 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/powershell-version.png" alt="" width="652" height="257" srcset="https://www.osradar.com/wp-content/uploads/2018/01/powershell-version.png 576w, https://www.osradar.com/wp-content/uploads/2018/01/powershell-version-300x118.png 300w" sizes="(max-width: 652px) 100vw, 652px" /></p>
<p>Here, my PowerShell “Major” is 5, meaning v5. If your PowerShell is lower than that, you need to update your Windows Management Framework. It’s available for Windows 7 and Windows 8.1. <a href="https://www.microsoft.com/en-us/download/details.aspx?id=50395">Download Windows Management Framework</a>.</p>
<h3>Creating the certificate</h3>
<p>Now, we have to create the certificate.</p>
<ul>
<li>Run the following command:</li>
</ul>
<pre class="lang:default decode:true">$cert = New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname testcert.osradar.com</pre>
<p>The “New-SelfSignedCertificate” cmdlet will create the certificate. Note that you need to change the “testcert.osradar.com” with the FQDN (Fully Qualified Domain Name) you would like to use.</p>
<ul>
<li>Create a password for the certificate using the following line:</li>
</ul>
<pre class="lang:default decode:true">$pwd = ConvertTo-SecureString -String ‘passw0rd!’ -Force -AsPlainText</pre>
<p>Change ‘passw0rd’ with your preferred password.</p>
<h3>Export the certificate</h3>
<p>It’s time to export the self-signed certificate.</p>
<ul>
<li>Run this command:</li>
</ul>
<pre class="lang:default decode:true">$path = 'cert:\localMachine\my\' + $cert.thumbprint 
Export-PfxCertificate -cert $path -FilePath c:\temp\cert.pfx -Password $pwd</pre>
<p>Make sure that you enter a valid path in place of “c:\temp\cert.pfx”. Enter the password in place of “$pwd”.</p>
<p>Now, your certificate is available in the folder. It can be imported and deployed into any Windows system.</p>
<h2><strong>Method 2</strong></h2>
<p>If the previous process seems a bit creepy, you can follow this one. It’s a bit lengthy but simple.</p>
<h3>Creating the certificate</h3>
<ul>
<li>Go to Start menu &gt;&gt; type “Run” &gt;&gt; hit Enter.</li>
</ul>
<p><img loading="lazy" class="wp-image-1578 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/run-mmc.png" alt="" width="573" height="329" srcset="https://www.osradar.com/wp-content/uploads/2018/01/run-mmc.png 446w, https://www.osradar.com/wp-content/uploads/2018/01/run-mmc-300x172.png 300w" sizes="(max-width: 573px) 100vw, 573px" /></p>
<ul>
<li>Type “mmc.exe” &gt;&gt; click OK.</li>
<li>In the console, go to File &gt;&gt; Add/Remove Snap-in…</li>
</ul>
<p><img loading="lazy" class=" wp-image-1577 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/add-remove-snap-in.png" alt="" width="570" height="561" srcset="https://www.osradar.com/wp-content/uploads/2018/01/add-remove-snap-in.png 359w, https://www.osradar.com/wp-content/uploads/2018/01/add-remove-snap-in-300x295.png 300w" sizes="(max-width: 570px) 100vw, 570px" /></p>
<ul>
<li>From the left panel, select Certificates &gt;&gt; click Add.</li>
</ul>
<p><img loading="lazy" class="wp-image-1576 alignnone" src="https://www.osradar.com/wp-content/uploads/2018/01/certificates-add.png" alt="" width="659" height="470" srcset="https://www.osradar.com/wp-content/uploads/2018/01/certificates-add.png 650w, https://www.osradar.com/wp-content/uploads/2018/01/certificates-add-300x214.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/certificates-add-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/01/certificates-add-588x420.png 588w" sizes="(max-width: 659px) 100vw, 659px" /></p>
<ul>
<li>From the new dialogue box, select Computer account &gt;&gt; click Next.</li>
</ul>
<p><img loading="lazy" class="wp-image-1575 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/select-computer-account.png" alt="" width="642" height="482" srcset="https://www.osradar.com/wp-content/uploads/2018/01/select-computer-account.png 554w, https://www.osradar.com/wp-content/uploads/2018/01/select-computer-account-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/select-computer-account-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/01/select-computer-account-265x198.png 265w" sizes="(max-width: 642px) 100vw, 642px" /></p>
<ul>
<li>Select Local computer &gt;&gt; click Finish.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1574 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/select-local-computer.png" alt="" width="623" height="466" srcset="https://www.osradar.com/wp-content/uploads/2018/01/select-local-computer.png 554w, https://www.osradar.com/wp-content/uploads/2018/01/select-local-computer-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/select-local-computer-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/01/select-local-computer-265x198.png 265w" sizes="(max-width: 623px) 100vw, 623px" /></p>
<ul>
<li>You’ll be back on the “Add/Remove Snap-ins” box. Click OK.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1573 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/certificate-added.png" alt="" width="650" height="463" srcset="https://www.osradar.com/wp-content/uploads/2018/01/certificate-added.png 650w, https://www.osradar.com/wp-content/uploads/2018/01/certificate-added-300x214.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/certificate-added-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/01/certificate-added-590x420.png 590w" sizes="(max-width: 650px) 100vw, 650px" /></p>
<p>Your certificate is created.</p>
<h3>Installing the certificate to the trusted root</h3>
<p>It’s a best practice to set the certificate in the trusted root as well.</p>
<ul>
<li>From the “mmc.exe”, navigate to Certificates &gt;&gt; Personal &gt;&gt; Certificates from the left panel.</li>
<li>Right-click on your certificate &gt;&gt; select Copy.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1572 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/navigate-to-certificates.png" alt="" width="549" height="365" srcset="https://www.osradar.com/wp-content/uploads/2018/01/navigate-to-certificates.png 520w, https://www.osradar.com/wp-content/uploads/2018/01/navigate-to-certificates-300x200.png 300w" sizes="(max-width: 549px) 100vw, 549px" /></p>
<ul>
<li>Navigate to Trusted Root Certificate Authorities &gt;&gt; Certificates.</li>
<li>Right-click and select Paste.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1571 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/trusted-root-certificate.png" alt="" width="523" height="557" srcset="https://www.osradar.com/wp-content/uploads/2018/01/trusted-root-certificate.png 400w, https://www.osradar.com/wp-content/uploads/2018/01/trusted-root-certificate-282x300.png 282w, https://www.osradar.com/wp-content/uploads/2018/01/trusted-root-certificate-394x420.png 394w" sizes="(max-width: 523px) 100vw, 523px" /></p>
<h3>Exporting the certificate</h3>
<p>For exporting the certificate, follow these procedures.</p>
<ul>
<li>From “mmc.exe”, navigate to Certificate &gt;&gt; Trusted Root Certificate Authorities &gt;&gt; Certificates.</li>
<li>Right-click on your certificate &gt;&gt; go to All Tasks &gt;&gt; Export.</li>
</ul>
<p><img loading="lazy" class="wp-image-1569 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/export-certificate.png" alt="" width="523" height="402" srcset="https://www.osradar.com/wp-content/uploads/2018/01/export-certificate.png 355w, https://www.osradar.com/wp-content/uploads/2018/01/export-certificate-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/export-certificate-80x60.png 80w" sizes="(max-width: 523px) 100vw, 523px" /></p>
<ul>
<li>Select “Yes, export the private key”.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1568 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/export-the-private-key.png" alt="" width="533" height="487" srcset="https://www.osradar.com/wp-content/uploads/2018/01/export-the-private-key.png 533w, https://www.osradar.com/wp-content/uploads/2018/01/export-the-private-key-300x274.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/export-the-private-key-460x420.png 460w" sizes="(max-width: 533px) 100vw, 533px" /></p>
<ul>
<li>Leave options as they are and click Next.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1582 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/leave-as-it-is.png" alt="" width="549" height="504" srcset="https://www.osradar.com/wp-content/uploads/2018/01/leave-as-it-is.png 530w, https://www.osradar.com/wp-content/uploads/2018/01/leave-as-it-is-300x276.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/leave-as-it-is-457x420.png 457w" sizes="(max-width: 549px) 100vw, 549px" /></p>
<ul>
<li>Enter a password for the certificate &gt;&gt; click Next.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1581 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/create-password-certificate.png" alt="" width="534" height="487" srcset="https://www.osradar.com/wp-content/uploads/2018/01/create-password-certificate.png 534w, https://www.osradar.com/wp-content/uploads/2018/01/create-password-certificate-300x274.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/create-password-certificate-461x420.png 461w" sizes="(max-width: 534px) 100vw, 534px" /></p>
<ul>
<li>Choose the folder where you want to save the certificate &gt;&gt; click Next.</li>
<li>Click Finish.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1579 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/certificate-export-complete.png" alt="" width="531" height="487" srcset="https://www.osradar.com/wp-content/uploads/2018/01/certificate-export-complete.png 531w, https://www.osradar.com/wp-content/uploads/2018/01/certificate-export-complete-300x275.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/certificate-export-complete-458x420.png 458w" sizes="(max-width: 531px) 100vw, 531px" /></p>
<p>Now, your certificate is ready for deployment. For using the certificate, installing it into browsers etc. tricks, follow this in-depth guide.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-self-signed-certificate-windows/">How to Create Self-signed Certificate on Windows</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/create-self-signed-certificate-windows/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
