<?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>localhost Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/localhost/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 29 Jul 2020 07:47:13 +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 reset your WordPress password on Localhost.</title>
		<link>https://www.osradar.com/how-to-reset-your-wordpress-password-on-localhost/</link>
					<comments>https://www.osradar.com/how-to-reset-your-wordpress-password-on-localhost/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 30 Jul 2020 07:44:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[local web server]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[reset WordPress password]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22049</guid>

					<description><![CDATA[<p>Hello! The password is essential to be able to enter your website. When this happens, you just need to retrieve it through an email. However, when installing WordPress on a local server, then this option is not available. But don&#8217;t worry, today we will see how to reset your WordPress password on Localhost. What is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-reset-your-wordpress-password-on-localhost/">How to reset your WordPress password on Localhost.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! The password is essential to be able to enter your website. When this happens, you just need to retrieve it through an email. However, when installing WordPress on a local server, then this option is not available. But don&#8217;t worry, today we will see how to reset your WordPress password on Localhost.</p>



<h2>What is Localhost?</h2>



<p>This is a service offered by applications such as <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-xampp-on-windows-10/" target="_blank" rel="noreferrer noopener">XAMP,</a> <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/" target="_blank" rel="noreferrer noopener">MAMP </a>among others, which allows you to simulate all the conditions of a real server. To do this, use the resources of the computer to install packages of <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-php-in-windows-10/" target="_blank" rel="noreferrer noopener">PHP</a> and <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-in-windows-10/" target="_blank" rel="noreferrer noopener">MySQL.</a> Precisely, all these tools in the webserver allow <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-wordpress-on-windows-10/" target="_blank" rel="noreferrer noopener">WordPress </a>to work. This local server is ideal for testing plugins and themes, as it offers a development environment almost identical to a real server. Also, it&#8217;s a great idea to test WordPress before publishing it on the website.</p>



<h2>How to reset the password at the Localhost.</h2>



<p>Under real server conditions, WordPress allows you to reset your password using your registered email. Since it is enough to enter the mail so that the system sends a link to be able to recover it. However, in a local server environment, this solution is not possible. Since the mail function is disabled. That is, the system does not send the recovery email. Of course, it is possible to enable this function by editing some lines of code. However, today I propose an alternative solution.</p>



<h2>How to recover your password on Localhost using phpMyAdmin.</h2>



<p>When you install a local web server, another server called <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/how-to-install-phpmyadmin-on-windows-10/" target="_blank" rel="noreferrer noopener">PhpMyAdmin </a>is also installed. In effect, this is used to manage, modify, create, or delete databases. In fact, from this section, the MySQL system is used to create the database for WordPress. Well, the first thing you have to do is check which is the database created for WordPress. With this intention, check the file <em>wp-config.php.</em> There is the name of the database used.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp-1024x787.png" alt="" data-id="22057" data-full-url="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp.png" data-link="https://www.osradar.com/?attachment_id=22057" class="wp-image-22057" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/wp.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp2-1024x787.png" alt="" data-id="22058" data-full-url="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp2.png" data-link="https://www.osradar.com/?attachment_id=22058" class="wp-image-22058" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp2-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp2-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp2-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp2-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp2-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp2-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/wp2.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li></ul></figure>



<p>Then, you just need to log in to the phpMyAdmin server. Once there, please click on the WordPress database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp3-1024x787.png" alt="Select the WordPress database." class="wp-image-22059" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp3-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp3-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp3-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp3-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp3-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp3-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/wp3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select the WordPress database.</figcaption></figure>



<p>Immediately all the tables in the database will be displayed. Please select <em>wp-users.</em> This is where the information for each user is stored.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp4-1024x787.png" alt="Select the wp-users table" class="wp-image-22061" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp4-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp4-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp4-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp4-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp4-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp4-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/wp4.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select the wp-users table</figcaption></figure>



<p>Then click on <strong>Edit.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp5-1024x787.png" alt="" class="wp-image-22064" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp5-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp5-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp5-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp5-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp5-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp5-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/wp5.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>From now on the method involves a few simple steps. First, select the value corresponding to the administrator user. That is, the parameter you usually use to log in to the server. Then select the MD5 function as this is used by WordPress to generate the password. Then in the password field, select the new value in plain text. Finally, press the <strong>Go</strong> button to set the changes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="339" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/07/wp6-1024x339.png" alt="" class="wp-image-22065" srcset="https://www.osradar.com/wp-content/uploads/2020/07/wp6-1024x339.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/wp6-300x99.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/wp6-768x254.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/wp6-696x231.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/wp6-1068x354.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/wp6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Setting the new password in Localhost for WordPress</figcaption></figure>



<p>After this step, you will be able to login to WordPress with your new password. That&#8217;s it! Simple but very useful, right? I hope you can manage your local server more efficiently. Well, we finally saw how to reset your WordPress password on Localhost. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-reset-your-wordpress-password-on-localhost/">How to reset your WordPress password on Localhost.</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/how-to-reset-your-wordpress-password-on-localhost/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install and configure MAMP in Windows 10</title>
		<link>https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 24 Jul 2020 04:48:09 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[local web server]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web server enviroment]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21752</guid>

					<description><![CDATA[<p>Hi! Today we&#8217;re going to talk a little about MAMP. This is an application pack that allows you to set up a web server. Indeed, it includes Apache, MySQL, and PHP installed and configured by default. Additionally, it is possible to use Nginx as a server. In addition to using various forms of web acceleration [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/">How to install and configure MAMP in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi! Today we&#8217;re going to talk a little about MAMP. This is an application pack that allows you to set up a web server. Indeed, it includes Apache, MySQL, and PHP installed and configured by default. Additionally, it is possible to use Nginx as a server. In addition to using various forms of web acceleration such as APC and eAccelerator. On the other hand, this local server environment was oriented to Mac systems. However, a Windows version is also provided. On the other hand, perhaps the most interesting thing is that its installation is independent. That is, it does not interfere with any other local web server you may have installed. Consequently, you can use it together with <a href="https://www.osradar.com/how-to-install-xampp-on-windows-10/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">Xampp</a> or Lamp for example. So today we&#8217;ll see how to install and configure MAMP in Windows 10.</p>



<h2>How to download and install MAMP in Windows 10</h2>



<p>This local server environment offers a free version and a paid PRO version. The paid version allows you to separate the projects you have worked on, as well as display settings such as Joomla, Drupal, or WordPress. However, the free version is complete enough to mount the local web server. Well, to download it please go to the <a href="https://www.mamp.info/en/downloads/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">download </a>section of the website. Once there, select the version for Windows which at this moment is 4.2.0. After the download is complete, please start installing it as any Windows program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam.png" alt="Press next to start the installation." class="wp-image-21755" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Press next to start the installation.</figcaption></figure>



<p>From now on you should only look at a couple of aspects of the installation. In the first place, the wizard offers two additional features. These elements are not indispensable for the operation of MAMP. So I personally recommend not to install it for the time being. Please don&#8217;t check both boxes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam2.png" alt="Please start the installation without the two additional components." class="wp-image-21757" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam2.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam2-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Please start the installation without the two additional components.</figcaption></figure>



<p>The other aspect that you should take care of is to locate the environment installation folder at the root of the hard disk.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam3.png" alt="Locate the installation folder at the root of the hard drive." class="wp-image-21758" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam3.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam3-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>Locate the installation folder at the root of the hard drive.</figcaption></figure>



<p>After a few moments, the installation will be complete.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="499" height="392" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam4.png" alt="MAMP installation successfully completed" class="wp-image-21759" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam4.png 499w, https://www.osradar.com/wp-content/uploads/2020/07/mam4-300x236.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption>MAMP installation successfully completed</figcaption></figure>



<h2>Launching and configuring MAMP.</h2>



<p>After the installation is completed, it is time to launch the server for the first time. Please remember to authorize access through the Windows Firewall. Then start the app from the shortcut or the start menu. You&#8217;ll immediately see the MAMP command center. It is configured to start the servers at the time of launching the application. In effect, you can see a green light indicating that the servers are running successfully.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="490" height="444" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam7-1.png" alt="" class="wp-image-21761" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam7-1.png 490w, https://www.osradar.com/wp-content/uploads/2020/07/mam7-1-300x272.png 300w" sizes="(max-width: 490px) 100vw, 490px" /></figure>



<p>After starting the services, you can check the installation by clicking on the <strong>Open WebStart page.</strong> Or alternatively you can access the following address in your browser: <strong>http://localhost/MAMP</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam5-1024x787.png" alt="MAMP server running successfully" class="wp-image-21762" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam5-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam5-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam5.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>MAMP server running successfully</figcaption></figure>



<p>You can manage <strong>MySQL</strong> by clicking on<strong> phpMyAdmin</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam10-1024x787.png" alt="phpMyAdmin running under MAMP" class="wp-image-21764" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam10-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam10-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam10.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>phpMyAdmin running under MAMP</figcaption></figure>



<p>It is also possible to set up a Virtual Guest. To do this just click on <strong>My Website.</strong> The sample website will be displayed immediately.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam6-1024x787.png" alt="" class="wp-image-21765" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam6-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/mam6-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/mam6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Setting up basic aspects of MAMP</h2>



<p>MAMP has a basic but very complete configuration center. It is possible to customize aspects such as the type of server to use. Or the location of the projects.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam8.png" alt="Choose the type of server to use. It also sets the location of the projects." class="wp-image-21766" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam8.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam8-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption>Choose the type of server to use. It also sets the location of the projects.</figcaption></figure>



<p>You can also set the assigned port for each of the services.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam9.png" alt="Setting up the ports." class="wp-image-21767" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam9.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam9-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption>Setting up the ports.</figcaption></figure>



<p>You can also switch between the versions of PHP installed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="550" height="450" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/mam11.png" alt="" class="wp-image-21768" srcset="https://www.osradar.com/wp-content/uploads/2020/07/mam11.png 550w, https://www.osradar.com/wp-content/uploads/2020/07/mam11-300x245.png 300w" sizes="(max-width: 550px) 100vw, 550px" /></figure>



<h2>Conclusion</h2>



<p>Finally, we have seen how to install and configure MAMP in Windows 10 This local web server environment is very light and easy to install. It is also an alternative to other popular services such as Xampp and Lamp. Besides, its installation does not interfere with any local server previously installed. I hope it will be useful for your future web projects. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-and-configure-mamp-in-windows-10/">How to install and configure MAMP in Windows 10</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/how-to-install-and-configure-mamp-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to generate error-free SSL certificates.</title>
		<link>https://www.osradar.com/how-to-generate-error-free-ssl-certificates/</link>
					<comments>https://www.osradar.com/how-to-generate-error-free-ssl-certificates/#respond</comments>
		
		<dc:creator><![CDATA[Roger Polanco]]></dc:creator>
		<pubDate>Sun, 06 Oct 2019 07:11:31 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[mkcert]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">https://www.googez.com/?p=1974</guid>

					<description><![CDATA[<p>Hello! I hope you&#8217;re all right. In the previous post, we learned how to generate self-signed SSL certificates on Windows Server 2019. Additionally, we saw that these certificates allow us to test the https protocol on our web pages. This is very useful for intranet use or web development. However, we saw that opening the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-generate-error-free-ssl-certificates/">How to generate error-free SSL certificates.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! I hope you&#8217;re all right. In the previous post, we learned how to generate self-signed SSL certificates on <a rel="noreferrer noopener" aria-label="Windows Server 2019. (opens in a new tab)" href="https://www.googez.com/how-to-create-a-self-signed-ssl-certificate-with-windows-server-2019/" target="_blank">Windows Server 2019.</a> Additionally, we saw that these certificates allow us to test the https protocol on our web pages. This is very useful for intranet use or web development. However, we saw that opening the page generated a security error message. It is necessary to modify the security policies of the browser and add an exception to the website to continue browsing. Even so, the browser still appeared a warning. To me in particular, this warning is really uncomfortable. These errors are generated because the certificates are not really valid. They are not signed by a trusted certifier but are self-signed by the local machine itself. That&#8217;s why I&#8217;m going to show you how to generate error-free SSL certificates.</p>



<h2>Create a virtual certifier entity.</h2>



<p>In order to generate these certificates, it is necessary to use an opensource program called <a rel="noreferrer noopener" aria-label="mkcert (opens in a new tab)" href="https://github.com/FiloSottile/mkcert" target="_blank">mkcert</a>. Let me explain how this application works. Instead of generating self-signed certificates, it creates a local virtual certification authority that is added to the trusted root certificates authorities. Since the function of the program has been explained, please go to the <a href="https://github.com/FiloSottile/mkcert/releases" target="_blank" rel="noreferrer noopener" aria-label="download (opens in a new tab)">download</a> page to select the executable file.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert-1024x787.jpg" alt="Downloading the executable file" class="wp-image-1976"/><figcaption>Downloading the executable file</figcaption></figure>



<p>This file is the program itself, no need to install or download other dependencies. We only have to run it using a Command Prompt. For ease of use, I recommend locating the downloaded file in a dedicated folder and renaming it to <strong>mkcert.exe.</strong> To do this, just click on the newly downloaded file, right-click and select properties. Furthermore, in the box corresponding to the file name, enter the new value. Then press OK to save the changes.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert3-1024x578.jpg" alt="Renaming the file to mkcert.exe" class="wp-image-1979"/><figcaption>Renaming the file to mkcert.exe</figcaption></figure>



<p>Once downloaded the file you have to open a Command Prompt. With this in mind, press the Win+R combination, and in the box type <strong>CMD</strong>:</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert4.jpg" alt="Running a Command Prompt" class="wp-image-1980"/><figcaption>Running a Command Prompt</figcaption></figure>



<p>Then in Command Prompt, you have to use the<strong> cd </strong>command to navigate to the folder where you placed the file. Then execute the following command:</p>



<pre class="wp-block-preformatted"> <code>mkcert -install</code> </pre>



<p>the system will display a security warning indicating that a trusted root certificate will be installed for your certifier body. Just accept to install the certificate. </p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert6-1024x532.jpg" alt="installing the virtual certifier body" class="wp-image-1982"/><figcaption>installing the virtual certifier</figcaption></figure>



<p>If everything is OK, you will see a confirmation message on the console with the warning that firefox support is not yet available.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert5-1.jpg" alt="Successfully Mkcert  installed" class="wp-image-1984"/><figcaption> <span style="background-color: rgba(68, 68, 68, 0.2);">Success</span><em>fully</em> Mkcert  installed</figcaption></figure>



<h2> Generating certificates with mkcert </h2>



<p>To generate a certificate we just have to type the command mkcert followed by the domain name for which we want to generate the certificate. For example, if we want to generate it for localhost site, we will use the following syntax:</p>



<pre class="wp-block-preformatted"> <code>mkcert localhost</code> </pre>



<p>Executing this command will result in a digital certificate and a private key file in PEM format. This class of certificates is most commonly used on Mac, Linux, Apache or Nginx. But to generate a certificate suitable for our Windows platform, it is necessary to generate it in PKCS 12 format. With this intention, you have to add the parameter -pkcs12, so that the syntax will be this way:</p>



<pre class="wp-block-preformatted">mkcert -pkcs12 localhost</pre>



<p>When entering the command, we will see the following message in the cmd:</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert7.jpg" alt="Generating a certificate suitable for Windows" class="wp-image-1988"/><figcaption>Generating a certificate suitable for Windows</figcaption></figure>



<p>Please note that the encryption password is <em>changeit</em>, as seen in the Command Prompt. This password will be asked for later.</p>



<h2>Installing the certificate.</h2>



<p>In the first place, you have to locate the certificate you just generated. This is in the folder where you saved the program. Its name is <strong>localhost.p12</strong>. Once there, double click on it to start the installation. Select <strong>Local Machine</strong> and press Next to continue the installation.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert8.jpg" alt="Select Local Machine" class="wp-image-1991"/><figcaption>Select Local Machine</figcaption></figure>



<p>The wizard will ask you to confirm the certificate you want to import. </p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert9-1.jpg" alt="Specify the file to import" class="wp-image-1993"/><figcaption>Specify the file to import</figcaption></figure>



<p>Remember I asked you to remember the encryption password? Then it&#8217;s time to add it to install the certificate.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert10.jpg" alt="Introducing the password" class="wp-image-1995"/><figcaption>Introducing the password</figcaption></figure>



<p>On the next screen choose the first option.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert11.jpg" alt="Automatic selection of certificates" class="wp-image-1997"/><figcaption>Automatic selection of certificates</figcaption></figure>



<p>Then check the options and press finish to complete the import.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert12.jpg" alt="Finishing the import" class="wp-image-1998"/><figcaption>Finishing the import</figcaption></figure>



<p>A message will confirm that the process has been successfully completed.</p>



<h2>Binding the SSL certificate</h2>



<p>Once we have created and installed the certificate, it is time to bind it to the website. To do this, we will use the Internet Information Service Manager. To know everything about this tool I invite you to see our tutorial about <a rel="noreferrer noopener" aria-label="IIS (opens in a new tab)" href="https://www.googez.com/how-to-enable-iis-in-windows-server-2019/" target="_blank">IIS</a>. First of all, we will check if the certificate is correctly installed. With this in mind, in the left column select the server, and in the central panel choose <strong>Server Certificates</strong>. Then, in the right column, place the action <strong>Open Feature</strong></p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert13-1024x548.jpg" alt="IIS manager" class="wp-image-2001"/><figcaption>IIS manager</figcaption></figure>



<p>The list of available certificates will open. For now, we&#8217;ll only see the one we just added.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert14-1024x548.jpg" alt="Server Certificates" class="wp-image-2003"/><figcaption>Server Certificates</figcaption></figure>



<p>Finally, we will bind the certificate to the website. To see how it&#8217;s done, check the link above. Here I only show you the correctly added certificate.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert15-1.jpg" alt="Successfully added certificate" class="wp-image-2006"/><figcaption>Successfully added certificate</figcaption></figure>



<h2>Testing the certificate on the website</h2>



<p>In the same menu above, please select <strong>Browse *.443 (https)</strong>. This action will launch the web page, using the https protocol that allows the SSL certificate.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert16-1024x548.jpg" alt="Launching https navigation on the  website" class="wp-image-2008"/><figcaption>Launching https navigation on the website</figcaption></figure>



<p>In the web browser, we will see the indicative padlock that we are using https.</p>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert17-1024x548.jpg" alt="Testing the SSL certificate on Opera" class="wp-image-2011"/><figcaption>Testing the SSL certificate on Opera</figcaption></figure>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert18-1024x548.jpg" alt="Testing the SSL certificate on Edge Beta" class="wp-image-2012"/><figcaption> <em>Testing the SSL certificate on </em>Edge Beta</figcaption></figure>



<figure class="wp-block-image"><img src="//1910974556.rsc.cdn77.org/wp-content/uploads/2019/10/cert19-1024x548.jpg" alt="Testing the SSL certificate on Chrome" class="wp-image-2013"/><figcaption> <em>Testing the SSL certificate on </em>Chrome</figcaption></figure>



<p>Well, finally we have learned how to generate SSL certificates that do not cause security errors. It is important to note that these certificates are only valid on our local machine. So if we use them on other computers will not work.  However, it is of tremendous help to develop locally. Personally, these articles that involve more research are my favorites. Before I say goodbye, I would like to invite you to our <a href="https://t.me/googez" target="_blank" rel="noreferrer noopener" aria-label="Telegram (opens in a new tab)">Telegram</a> channel. </p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-generate-error-free-ssl-certificates/">How to generate error-free SSL certificates.</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/how-to-generate-error-free-ssl-certificates/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
