<?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>openssl Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 27 Aug 2019 19:29:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install the latest version of OpenSSL on CentOS 7?</title>
		<link>https://www.osradar.com/how-to-install-the-latest-version-of-openssl-on-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-the-latest-version-of-openssl-on-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 26 Mar 2019 05:19:18 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11588</guid>

					<description><![CDATA[<p>The security in the systems is something that should call our attention to those who like or work with Linux. Especially, if it is a server since in this equipment a lot of important data and services are sustained. In general, we can say that Linux is a fairly secure system because it includes fairly [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-latest-version-of-openssl-on-centos-7/">How to install the latest version of OpenSSL on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The security in the systems is something that should call our attention to those who like or work with Linux. Especially, if it is a server since in this equipment a lot of important data and services are sustained. In general, we can say that Linux is a fairly secure system because it includes fairly good security policies. However, also thanks to the inclusion of libraries specializing in encryption and data protection. Something vital in a job or in very important personal communications. That is why, in this post, we will show you how to install the latest version of OpenSSL on CentOS 7.</p>
<p>In case you do not know what <a href="https://www.openssl.org/" rel="noopener noreferrer">OpenSSL</a> is, we will tell you. OpenSSL is a security library included in all Linux systems. Its main objective is to provide an open source implementation of TLS and SSL protocols that protect and encrypt the transmission of data over a network. It is really important to use it because if our transmitted data falls into the hands of a third party, that person must decrypt it to get the information. This process is not easy to do, so by doing so, we safeguard the data.</p>
<p>So, let us start to install the latest version of OpenSSL on <a href="https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/" rel="noopener noreferrer">CentOS</a> 7.</p>
<h2>1.- Upgrade the system and install required packages</h2>
<p>The first step is to update the system completely. This way you will have available all the available security updates.</p>
<pre>:~$ su
:~# yum update</pre>
<figure id="attachment_11589" aria-describedby="caption-attachment-11589" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11589" src="https://www.osradar.com/wp-content/uploads/2019/03/1-13.png" alt="1.- Update the system" width="1365" height="316" srcset="https://www.osradar.com/wp-content/uploads/2019/03/1-13.png 1365w, https://www.osradar.com/wp-content/uploads/2019/03/1-13-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/1-13-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/1-13-1024x237.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/1-13-696x161.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/1-13-1068x247.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11589" class="wp-caption-text">1.- Update the system</figcaption></figure>
<p>Then, you have to install some required packages to install OpenSSL.</p>
<pre>:~# yum install make gcc perl pcre-devel zlib-devel</pre>
<figure id="attachment_11590" aria-describedby="caption-attachment-11590" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11590" src="https://www.osradar.com/wp-content/uploads/2019/03/2-13.png" alt="2.- Install some required packages to install OpenSSL on CentOS" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/2-13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/2-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11590" class="wp-caption-text">2.- Install some required packages to install OpenSSL on CentOS</figcaption></figure>
<h2>2. Install the latest version of OpenSSL on CentOS 7</h2>
<p>OpenSSL is included in almost all Linux distributions. The problem is that they include older versions that although maintained by the distribution itself to be safe, are not the most recent. So for that, we will use the safest method which is to install it from its source code. With this, we will get a clean and reliable system.</p>
<p>So, first, you need to download the latest version using wget. Install it first.</p>
<pre>:~# yum install wget
:~# wget https://ftp.openssl.org/source/old/1.1.1/openssl-1.1.1.tar.gz</pre>
<figure id="attachment_11591" aria-describedby="caption-attachment-11591" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11591" src="https://www.osradar.com/wp-content/uploads/2019/03/3-12.png" alt="3.- Download the latest version of OpenSSL" width="1365" height="285" srcset="https://www.osradar.com/wp-content/uploads/2019/03/3-12.png 1365w, https://www.osradar.com/wp-content/uploads/2019/03/3-12-300x63.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/3-12-768x160.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/3-12-1024x214.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/3-12-696x145.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/3-12-1068x223.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11591" class="wp-caption-text">3.- Download the latest version of OpenSSL</figcaption></figure>
<p>Of course, at the time of writing this post, the latest stable version of OpenSSL is 1.1.1.</p>
<p>After that, decompress the file.</p>
<pre>:~# tar xvf openssl-1.1.1.tar.gz</pre>
<figure id="attachment_11592" aria-describedby="caption-attachment-11592" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11592" src="https://www.osradar.com/wp-content/uploads/2019/03/4-9.png" alt="4.- Decompress the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/4-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/4-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11592" class="wp-caption-text">4.- Decompress the file</figcaption></figure>
<p>Next, navigate to the generated folder.</p>
<pre>:~# cd openssl-1.1.1/</pre>
<p>Then, you have to start configuring the package compilation using ./configure. Besides that, you have to use some parameters like the prefix where the route will be established.</p>
<pre>:~# ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic</pre>
<figure id="attachment_11593" aria-describedby="caption-attachment-11593" style="width: 987px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11593" src="https://www.osradar.com/wp-content/uploads/2019/03/5-7.png" alt="5.- Configure OpenSSL" width="987" height="392" srcset="https://www.osradar.com/wp-content/uploads/2019/03/5-7.png 987w, https://www.osradar.com/wp-content/uploads/2019/03/5-7-300x119.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/5-7-768x305.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/5-7-696x276.png 696w" sizes="(max-width: 987px) 100vw, 987px" /><figcaption id="caption-attachment-11593" class="wp-caption-text">5.- Configure OpenSSL</figcaption></figure>
<p>Now, begin compilation.</p>
<pre>:~# make
:~# make test</pre>
<p>Finally, install OpenSSL.</p>
<pre>:~# make install</pre>
<figure id="attachment_11594" aria-describedby="caption-attachment-11594" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11594" src="https://www.osradar.com/wp-content/uploads/2019/03/6-4.png" alt="6.- Install the latest version of OpenSSL on CentOS" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/6-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/6-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11594" class="wp-caption-text">6.- Install the latest version of OpenSSL on CentOS</figcaption></figure>
<p>The process may take a few minutes. So you have to wait for it to finish.</p>
<p>Then, so you do not have problems using the library, you need to export the paths.</p>
<pre>:~# export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
:~# echo "export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64" &gt;&gt; ~/.bashrc</pre>
<p>Finally, check the OpenSSL version.</p>
<pre>:~# openssl version</pre>
<figure id="attachment_11595" aria-describedby="caption-attachment-11595" style="width: 947px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11595" src="https://www.osradar.com/wp-content/uploads/2019/03/7-5.png" alt="7.- OpenSSL installed" width="947" height="165" srcset="https://www.osradar.com/wp-content/uploads/2019/03/7-5.png 947w, https://www.osradar.com/wp-content/uploads/2019/03/7-5-300x52.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/7-5-768x134.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/7-5-696x121.png 696w" sizes="(max-width: 947px) 100vw, 947px" /><figcaption id="caption-attachment-11595" class="wp-caption-text">7.- OpenSSL installed</figcaption></figure>
<p>So, that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>OpenSSL is a very important library of the Linux system. So it&#8217;s a good idea to have its latest version installed, to improve system security and data encryption. The installation process from the source code is not difficult and has many advantages.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-latest-version-of-openssl-on-centos-7/">How to install the latest version of OpenSSL on CentOS 7?</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-the-latest-version-of-openssl-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>25</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install OpenSSL in Windows</title>
		<link>https://www.osradar.com/install-openssl-windows/</link>
					<comments>https://www.osradar.com/install-openssl-windows/#respond</comments>
		
		<dc:creator><![CDATA[Mel K]]></dc:creator>
		<pubDate>Sat, 27 Jan 2018 04:00:02 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[install openssl on windows]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[openssl windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=1588</guid>

					<description><![CDATA[<p>OpenSSL is, by far, the most widely used software library for SSL and TLS implementation protocols. It’s an open-source, commercial-grade and full-featured toolkit suitable for both personal and enterprise usage. In fact, most of the web’s SSL &#38; TLS are provided by OpenSSL. You can use OpenSSL for having some really important cryptographic operations like [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openssl-windows/">How to Install OpenSSL in 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>OpenSSL is, by far, the most widely used software library for SSL and TLS implementation protocols. It’s an open-source, commercial-grade and full-featured toolkit suitable for both personal and enterprise usage. In fact, most of the web’s SSL &amp; TLS are provided by OpenSSL.</p>
<p>You can use OpenSSL for having some really important cryptographic operations like generating a private key, certificate conversion etc. The toolkit is officially released by source codes. In Linux, that’s not a problem. Downloading the source, building the code and using the toolkit is very simple. However, for Windows users, it’s a bit difficult. Here’s how you’ll install OpenSSL on your Windows system.</p>
<h3>Download installer</h3>
<p>You can download and compile OpenSSL from source all by yourself using different compilers. However, that’s a very lengthy process with lots of troublesome issues. So, I’m not going to cover that path. Instead, we’ll be using pre-compiled binaries.</p>
<p><a href="https://slproweb.com/products/Win32OpenSSL.html">Download OpenSSL</a>. There are several types of available installers, but I recommend using the latest “Light” edition, as it contains the important and mostly used toolkits only. If you wish to have the full-featured client, download the normal (bigger size) installer. Here, I’m downloading the latest Win32-OpenSSL v1.1.0g Light. Note that with the releases of newer OpenSSL, the version will be different. If you need, you can also use the 64-bit edition, the officially recommended version.</p>
<h3>Install OpenSSL</h3>
<p>After downloading the file, let’s install it into our system</p>
<ul>
<li>Run the installer.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1589 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/OpenSSL-light-installer.png" alt="" width="837" height="138" srcset="https://www.osradar.com/wp-content/uploads/2018/01/OpenSSL-light-installer.png 837w, https://www.osradar.com/wp-content/uploads/2018/01/OpenSSL-light-installer-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/OpenSSL-light-installer-768x127.png 768w, https://www.osradar.com/wp-content/uploads/2018/01/OpenSSL-light-installer-696x115.png 696w" sizes="(max-width: 837px) 100vw, 837px" /></p>
<ul>
<li>Install the program normally, like other installations.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1590 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/openssl-installer-welcome.png" alt="" width="576" height="443" srcset="https://www.osradar.com/wp-content/uploads/2018/01/openssl-installer-welcome.png 507w, https://www.osradar.com/wp-content/uploads/2018/01/openssl-installer-welcome-300x231.png 300w" sizes="(max-width: 576px) 100vw, 576px" /></p>
<ul>
<li>Make sure that you install the toolkit in a suitable place. I recommend using the default path.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1591 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/openssl-install-dir.png" alt="" width="556" height="419" srcset="https://www.osradar.com/wp-content/uploads/2018/01/openssl-install-dir.png 511w, https://www.osradar.com/wp-content/uploads/2018/01/openssl-install-dir-300x226.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/openssl-install-dir-80x60.png 80w" sizes="(max-width: 556px) 100vw, 556px" /></p>
<ul>
<li>Choose the default option. This way, there will be no confliction/issue(s) with the system.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1592 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/select-the-default-option.png" alt="" width="539" height="413" srcset="https://www.osradar.com/wp-content/uploads/2018/01/select-the-default-option.png 512w, https://www.osradar.com/wp-content/uploads/2018/01/select-the-default-option-300x230.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/select-the-default-option-80x60.png 80w" sizes="(max-width: 539px) 100vw, 539px" /></p>
<ul>
<li>Bonus: support the project, as it depends on our donations to provide others for free.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1593 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/support-the-project.png" alt="" width="529" height="403" srcset="https://www.osradar.com/wp-content/uploads/2018/01/support-the-project.png 512w, https://www.osradar.com/wp-content/uploads/2018/01/support-the-project-300x229.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/support-the-project-80x60.png 80w" sizes="(max-width: 529px) 100vw, 529px" /></p>
<h3>Add the installation directory to PATH</h3>
<p>If you wish to use OpenSSL via Command Prompt or shell, you need to add the path to Windows. Here’s how to do that.</p>
<ul>
<li>Go to Control Panel &gt;&gt; System and Security &gt;&gt; System.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-1594 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/advanced-system-settings.png" alt="" width="851" height="308" srcset="https://www.osradar.com/wp-content/uploads/2018/01/advanced-system-settings.png 851w, https://www.osradar.com/wp-content/uploads/2018/01/advanced-system-settings-300x109.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/advanced-system-settings-768x278.png 768w, https://www.osradar.com/wp-content/uploads/2018/01/advanced-system-settings-696x252.png 696w" sizes="(max-width: 851px) 100vw, 851px" /></p>
<ul>
<li>From the left panel, select “Advanced system settings”.</li>
<li>From “Advanced” tab, click “Environment Variables”.</li>
</ul>
<p><img loading="lazy" class=" wp-image-1595 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/01/go-to-environment-variables.png" alt="" width="450" height="494" srcset="https://www.osradar.com/wp-content/uploads/2018/01/go-to-environment-variables.png 423w, https://www.osradar.com/wp-content/uploads/2018/01/go-to-environment-variables-273x300.png 273w, https://www.osradar.com/wp-content/uploads/2018/01/go-to-environment-variables-383x420.png 383w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<ul>
<li>Scroll down to the “System variables” section. Select “Path” &gt;&gt; click “Edit”.</li>
<li>At the last part, enter the following line:</li>
</ul>
<pre class="lang:default decode:true">;C:\OpenSSL-Win32\bin</pre>
<ul>
<li>Click “OK”.</li>
</ul>
<h3>Set the configuration file</h3>
<p>The installation of Shining Light Productions contains a default “openssl.cfg” file. If you get an error like “Unable to load config info from /usr/local/ssl/openssl.cnf”, run the following command into an elevated Command Prompt.</p>
<pre class="lang:default decode:true">set OPENSSL_CONF=c:\OpenSSL-Win32\openssl.cnf</pre>
<p>To ensure that everything is set correctly, run the following command:</p>
<pre class="lang:default decode:true ">echo %OPENSSL_CONF%</pre>
<p>If everything&#8217;s ok, you&#8217;ll get the following result:</p>
<p><img loading="lazy" class="alignnone wp-image-1596" src="https://www.osradar.com/wp-content/uploads/2018/01/run-the-command.png" alt="" width="879" height="163" srcset="https://www.osradar.com/wp-content/uploads/2018/01/run-the-command.png 1059w, https://www.osradar.com/wp-content/uploads/2018/01/run-the-command-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2018/01/run-the-command-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2018/01/run-the-command-1024x190.png 1024w, https://www.osradar.com/wp-content/uploads/2018/01/run-the-command-696x129.png 696w" sizes="(max-width: 879px) 100vw, 879px" /></p>
<p>If you need, you can get a fresh copy of &#8220;openssl.cnf&#8221; right <a href="https://github.com/openssl/openssl/blob/master/apps/openssl.cnf">here</a>.</p>
<p>Now, your OpenSSL installation is complete!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-openssl-windows/">How to Install OpenSSL in 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/install-openssl-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
