<?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 Archivi -</title>
	<atom:link href="https://simonetocco.it/tag/openssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://simonetocco.it/tag/openssl/</link>
	<description></description>
	<lastBuildDate>Fri, 04 Dec 2015 17:02:32 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://simonetocco.it/wp-content/uploads/2020/12/logoSimone-1-150x150.png</url>
	<title>openssl Archivi -</title>
	<link>https://simonetocco.it/tag/openssl/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Errore Address already in use: make_sock: could not bind to address 0.0.0.0:80</title>
		<link>https://simonetocco.it/errore-address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080/</link>
					<comments>https://simonetocco.it/errore-address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080/#respond</comments>
		
		<dc:creator><![CDATA[Simone Tocco]]></dc:creator>
		<pubDate>Fri, 04 Dec 2015 17:00:17 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">http://simonetocco.it/?p=1188</guid>

					<description><![CDATA[<p>Essere sistemisti vuol dire anche installare gli aggiornamenti di un server senza nessuna preoccupazione, riavviare e accorgersi che qualcosa non funziona 🙂 . In questo articolo tratterò di quando riavviando un Server notiamo che Apache non ha intenzione di avviarsi restituendo come errore &#160; Address already in use: make_sock: could not bind to address 0.0.0.0:80 [&#8230;]</p>
<p>L'articolo <a href="https://simonetocco.it/errore-address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080/">Errore Address already in use: make_sock: could not bind to address 0.0.0.0:80</a> sembra essere il primo su <a href="https://simonetocco.it"></a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Essere sistemisti vuol dire anche installare gli aggiornamenti di un server senza nessuna preoccupazione, riavviare e accorgersi che qualcosa non funziona <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> .</p>
<p>In questo articolo tratterò di quando riavviando un Server notiamo che Apache non ha intenzione di avviarsi restituendo come errore</p>
<p>&nbsp;</p>
<pre>Address already in use: make_sock: could not bind to address 0.0.0.0:80</pre>
<p>Spesso questo errore si ha quando viene installato un certificato SSL all&#8217;interno di una macchina e che al riavvio richieste una password ma questa non viene espressamente richiesta bloccando semplicemente l&#8217;avvio.</p>
<p>La strategia di risoluzione è quindi quella di individuare il processo che blocca l&#8217;avvio con un </p>
<pre>netstat -ltnp | </span>grep ': 80'</pre>
<p>ed individuare quindi il PID del processo che uccideremo poi con un bel (e liberatorio)</p>
<pre>kill -9 [NUMERO PID]</pre>
<p>riavviando quindi Apache. Se la causa del blocco è dovuta al certificato SSL, sarà quindi necessario inserire la password utilizzata per la generazione del certificato.</p>
<!--------------------------------------><!-- Conversion Box Made Using : -------><!-- WP Conversion Boxes - -------------><!-- http://wpconversionboxes.com --><!--------------------------------------><div class="wpcb_nothing_offset"></div>

<style>
    
    .wpcb_template_main_1{
        
        background-color: #0faf97;
        width: 100%;
        height: ;
        border-width: ;
        border-color: ;
        margin-top: ;
        margin-bottom: ;
        margin-left: ;
        margin-right: ;
        padding: 20px;
        -webkit-box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);
        -moz-box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);
        box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);     
        
    }
    
    .wpcb_template_main_1 .wpcb_box_heading{
        background-color: ;
        padding-top: 0px;
    }
    
    .wpcb_template_main_1 .wpcb_box_heading_text{
        font-family:    'Arial', serif;
        font-size:      32px;
        line-height:    38px;
        color:          #ffffff;
        text-align:     center;
        text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.25);
        font-weight: 900;
        margin: 0;
    }
    
    .wpcb_template_main_1 .wpcb_box_content_container{
        
    }    
    
    .wpcb_template_main_1 .wpcb_box_content{
        font-family:    Arial;
        font-size:      20px;
        line-height:    24px;
        color:          #ffffff;
        text-align:     center;
        padding: 20px 0px;
    }
    
    .wpcb_template_main_1 .wpcb_box_button_div{
        text-align: center;
    }
    
    .wpcb_template_main_1 .wpcb_box_button_div a.wpcb_box_button, .wpcb_template_main_1 .wpcb_box_button_div button.wpcb_box_button{
        font-family:    Arial;
        font-size:      16px;
        color:          #fff;
        background-color: #4f78f2;
        border-radius: 30px;
        width: ;
        padding: 10px 15px;
    }
    
    .wpcb_button_gradient{background-image : -moz-linear-gradient(top, #4f78f2, #1851f9);background-image : -ms-linear-gradient(top, #4f78f2, #1851f9);background-image : -webkit-gradient(linear, #4f78f2, #1851f9);background-image : -webkit-linear-gradient(top, #4f78f2, #1851f9);background-image : -o-linear-gradient(top, #4f78f2, #1851f9);background-image : linear-gradient(top, #4f78f2, #1851f9);filter : progid:DXImageTransform.Microsoft.gradient(startColorstr=&quot;#4f78f2&quot;, endColorstr=&quot;#1851f9&quot;, GradientType=0);border-color : +#4f78f2 #1851f9 #1851f9;background-color : #4f78f2;}    
        
</style>


<div class="wpcb_template_main wpcb_template_main_1 wpcb_nothing wpcb_nothing" data-fadetime="0">
    <div class="wpcb_box_all_content_container">
        <div class="wpcb_box_content_container">    
            <div class="wpcb_box_heading">
                <div class="wpcb_box_heading_text">Hai bisogno di una consulenza o assistenza?</div>
            </div>            
            <div class="wpcb_box_content">
                Apri un ticket di richiesta, ti risponderò in brevissimo tempo! Chiedere non costa nulla <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" />            </div>    
            <div class="wpcb_box_button_div">
                <a href="http://simonetocco.it/assistenza-e-consulenza/" target="" id="wpcb_box_button_1" class="wpcb_box_button wpcb_button_gradient">Apri Richiesta</a>
            </div>
        </div>    
    </div>
</div><!------------------------------><!-- Conversion Box Ends Here --><!------------------------------><div class="wpcb-tracker" data-id="3640908" data-boxid="1" data-visitedpage="https://simonetocco.it:443/tag/openssl/feed/" data-visittype="visit"></div><p>L'articolo <a href="https://simonetocco.it/errore-address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080/">Errore Address already in use: make_sock: could not bind to address 0.0.0.0:80</a> sembra essere il primo su <a href="https://simonetocco.it"></a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://simonetocco.it/errore-address-already-in-use-make_sock-could-not-bind-to-address-0-0-0-080/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Generazione CSR, come si genera un certificato CSR con Apache</title>
		<link>https://simonetocco.it/generazione-csr-come-si-genera-un-certificato-csr-con-apache/</link>
					<comments>https://simonetocco.it/generazione-csr-come-si-genera-un-certificato-csr-con-apache/#comments</comments>
		
		<dc:creator><![CDATA[Simone Tocco]]></dc:creator>
		<pubDate>Tue, 24 Nov 2015 18:27:25 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Sicurezza]]></category>
		<category><![CDATA[certificato]]></category>
		<category><![CDATA[csr]]></category>
		<category><![CDATA[generazione]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">http://simonetocco.it/?p=1172</guid>

					<description><![CDATA[<p>Un certificato CSR (Certificate Signing Request) è un file di testo generato con algoritmi di crittografia utilizzato per l&#8217;assegnazione di un certificato SSL da parte di un&#8217;autority. In questo file vi sono tutte le informazioni che chi dovrà rilasciare il certificato SSL utilizzerà per la sua generazione. Come si presenta: -----BEGIN CERTIFICATE REQUEST----- MIIBzDCCATUCAQAwgYsxHDAaBgNVBAMTE3d3dy50aGlzaXNhdGVzdC5jb20xCzAJ BgNVBAYTAlpBMRkwFwYDVQQIExBXZXN0ZXJuIFByb3ZpbmNlMRIwEAYDVQQHEwlD [&#8230;]</p>
<p>L'articolo <a href="https://simonetocco.it/generazione-csr-come-si-genera-un-certificato-csr-con-apache/">Generazione CSR, come si genera un certificato CSR con Apache</a> sembra essere il primo su <a href="https://simonetocco.it"></a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Un certificato CSR (Certificate Signing Request) è un file di testo generato con algoritmi di crittografia utilizzato per l&#8217;assegnazione di un certificato SSL da parte di un&#8217;autority. In questo file vi sono tutte le informazioni che chi dovrà rilasciare il certificato SSL utilizzerà per la sua generazione.</p>
<p><strong>Come si presenta:</strong></p>
<pre>-----BEGIN CERTIFICATE REQUEST-----
 MIIBzDCCATUCAQAwgYsxHDAaBgNVBAMTE3d3dy50aGlzaXNhdGVzdC5jb20xCzAJ
 BgNVBAYTAlpBMRkwFwYDVQQIExBXZXN0ZXJuIFByb3ZpbmNlMRIwEAYDVQQHEwlD
 YXGlIFRvd24xEjAQBgNVBAoTCVRlc3QgQ27ycDEbMBkGA1UECxMS7GVzdGluGyBE
 ZXBhcnRtZW50MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDVzfmv7vJ9bOyQ
 dxMLlgtDIEFz7MWsOUoZOPRq3qsTTXPW61q01jY8eQfs96I5xPjxALPeT4m74cce
 UtYxldG7pLJiB3SGU94yvyvHDiyV+6mV/e++KWT2ql0Jv1emmobmAGdUxdx2pW9C
 Epr0DmcVny6VGWAI36bG0NdYrNix4QIDAQABoAAwDQYJKoZIhvcNAQEEBQAGgYEA
 BfSGgDr9Vc460YG+lAiWuVREife8B4QOojiV8oUxJJDqbA2CEEmXLWfa7/mfUtd5
 EQd6voLDT8axpXPbOrmwa3kzEZvQZhg+Qv7EyIfncqdWbDUk71tO0fVafBKwRQfG
 73J/THmVABZuz9T6X3+KWRxGDiYw0sY3b77OjBCwr14=
 -----END CERTIFICATE REQUEST-----</pre>
<p>Se il nostro server utilizza Apache Web Server, possiamo procedere alla generazione del certificato CSR come segue.</p>
<p>Da shell diamo il comando</p>
<pre>
 openssl</pre>
<p>atto a verificare che il pacchetto sia installato.</p>
<p>Dopo aver avuto esito positivo digitiamo:</p>
<pre>
 openssl genrsa –des3 –out www.dominiodaproteggere.com.key 2048</pre>
<p>Ci verrà quindi richiesta una password che inseriremo per creare la chiave pubblica di cui sopra.</p>
<p>In secondo tempo digitiamo</p>
<pre>
 openssl req –new –key www.dominiodaproteggere.com.key –out www.dominiodaproteggere.com.csr</pre>
<p>per creare un certificato CSR partendo dalla chiave precedentemente realizzata. Verranno richiesti i seguenti valori che saranno inseriti poi nel certificato SSL da parte dell&#8217;autority quindi è bene prestare molta attenzione:</p>
<ul>
<li><strong>Common Name</strong> – deve essere l&#8217;esatto URL del sito che si intende proteggere.</li>
<li><strong>Organizzazione</strong> – La ragione sociale della società o organizzazione incluse le sigle srl, spa ecc SENZA inserite caratteri di punteggiatura.</li>
<li><strong>Unità Organizzativa</strong> &#8211; Il nome reparto interno della società (ad esempio “IT”, o “Web”).</li>
<li><strong>Città/località</strong> &#8211; La città o il paese in cui la società ha sede .</li>
<li><strong>Provincia</strong> &#8211; la provincia in cui ha società ha sede .</li>
<li><strong>Paese</strong> &#8211; Utilizzare l&#8217;acronimo internazionale ad esempio per Italia inserire IT</li>
</ul>
<p>NB: NON inserire le Informazioni: “Indirizzo e-mail”, “Password” e “Nome opzionale della società”.</p>
<p>Dopo la generazione sarà sufficiente dare un dominiodaproteggere.com</p>
<pre>nano www.dominiodaproteggere.com.csr</pre>
<p>copiare e incollare e quindi inviare il suo contenuto all&#8217;autority SSL per la generazione del certificato.</p>
<!--------------------------------------><!-- Conversion Box Made Using : -------><!-- WP Conversion Boxes - -------------><!-- http://wpconversionboxes.com --><!--------------------------------------><div class="wpcb_nothing_offset"></div>

<style>
    
    .wpcb_template_main_1{
        
        background-color: #0faf97;
        width: 100%;
        height: ;
        border-width: ;
        border-color: ;
        margin-top: ;
        margin-bottom: ;
        margin-left: ;
        margin-right: ;
        padding: 20px;
        -webkit-box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);
        -moz-box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);
        box-shadow: inset 0px 0px 200px -38px rgba(0,0,0,0.5);     
        
    }
    
    .wpcb_template_main_1 .wpcb_box_heading{
        background-color: ;
        padding-top: 0px;
    }
    
    .wpcb_template_main_1 .wpcb_box_heading_text{
        font-family:    'Arial', serif;
        font-size:      32px;
        line-height:    38px;
        color:          #ffffff;
        text-align:     center;
        text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.25);
        font-weight: 900;
        margin: 0;
    }
    
    .wpcb_template_main_1 .wpcb_box_content_container{
        
    }    
    
    .wpcb_template_main_1 .wpcb_box_content{
        font-family:    Arial;
        font-size:      20px;
        line-height:    24px;
        color:          #ffffff;
        text-align:     center;
        padding: 20px 0px;
    }
    
    .wpcb_template_main_1 .wpcb_box_button_div{
        text-align: center;
    }
    
    .wpcb_template_main_1 .wpcb_box_button_div a.wpcb_box_button, .wpcb_template_main_1 .wpcb_box_button_div button.wpcb_box_button{
        font-family:    Arial;
        font-size:      16px;
        color:          #fff;
        background-color: #4f78f2;
        border-radius: 30px;
        width: ;
        padding: 10px 15px;
    }
    
    .wpcb_button_gradient{background-image : -moz-linear-gradient(top, #4f78f2, #1851f9);background-image : -ms-linear-gradient(top, #4f78f2, #1851f9);background-image : -webkit-gradient(linear, #4f78f2, #1851f9);background-image : -webkit-linear-gradient(top, #4f78f2, #1851f9);background-image : -o-linear-gradient(top, #4f78f2, #1851f9);background-image : linear-gradient(top, #4f78f2, #1851f9);filter : progid:DXImageTransform.Microsoft.gradient(startColorstr=&quot;#4f78f2&quot;, endColorstr=&quot;#1851f9&quot;, GradientType=0);border-color : +#4f78f2 #1851f9 #1851f9;background-color : #4f78f2;}    
        
</style>


<div class="wpcb_template_main wpcb_template_main_1 wpcb_nothing wpcb_nothing" data-fadetime="0">
    <div class="wpcb_box_all_content_container">
        <div class="wpcb_box_content_container">    
            <div class="wpcb_box_heading">
                <div class="wpcb_box_heading_text">Hai bisogno di una consulenza o assistenza?</div>
            </div>            
            <div class="wpcb_box_content">
                Apri un ticket di richiesta, ti risponderò in brevissimo tempo! Chiedere non costa nulla <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" />            </div>    
            <div class="wpcb_box_button_div">
                <a href="http://simonetocco.it/assistenza-e-consulenza/" target="" id="wpcb_box_button_1" class="wpcb_box_button wpcb_button_gradient">Apri Richiesta</a>
            </div>
        </div>    
    </div>
</div><!------------------------------><!-- Conversion Box Ends Here --><!------------------------------><div class="wpcb-tracker" data-id="3640910" data-boxid="1" data-visitedpage="https://simonetocco.it:443/tag/openssl/feed/" data-visittype="visit"></div><p>L'articolo <a href="https://simonetocco.it/generazione-csr-come-si-genera-un-certificato-csr-con-apache/">Generazione CSR, come si genera un certificato CSR con Apache</a> sembra essere il primo su <a href="https://simonetocco.it"></a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://simonetocco.it/generazione-csr-come-si-genera-un-certificato-csr-con-apache/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
