<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Problem deploying Let&#039;s Encrypt SSL certificate - Install &amp; Setup				            </title>
            <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 08 Sep 2026 00:26:11 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4850</link>
                        <pubDate>Tue, 18 Apr 2023 10:13:54 +0000</pubDate>
                        <description><![CDATA[Here the solution:
modify of file /opt/zextras/bin/zmcertmgr needed

my $ssl = $self-&gt;Openssl;my $keydg =# $self-&gt;run(&quot;$ssl rsa -noout -modulus -in &#039;$keyf&#039; | $ssl sha256&quot;);$se...]]></description>
                        <content:encoded><![CDATA[<p>Here the solution:</p>
<p>https://forums.zimbra.org/viewtopic.php?t=69645#p301581</p>
<p>modify of file <strong>/opt/zextras/bin/zmcertmgr</strong> needed</p>
<p></p>
<p>my $ssl = $self-&gt;Openssl;<br />my $keydg =<br /># $self-&gt;run("$ssl rsa -noout -modulus -in '$keyf' | $ssl sha256");<br />$self-&gt;run("$ssl pkey -pubout -in '$keyf' | $ssl sha256");<br />my $crtdg =<br /># $self-&gt;run("$ssl x509 -noout -modulus -in '$crtf' | $ssl sha256");<br />$self-&gt;run("$ssl x509 -noout -pubkey -in '$crtf' | $ssl sha256");</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>marco.manenti</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4850</guid>
                    </item>
				                    <item>
                        <title>RE: Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4731</link>
                        <pubDate>Thu, 23 Mar 2023 09:01:15 +0000</pubDate>
                        <description><![CDATA[if you do a cat /tmp/chain.pem
is it composed of 2 block of code delimited by &quot;-----BEGIN CERTIFICATE-----&quot; -&gt; &quot;-----END CERTIFICATE-----&quot;  ?
if there is 3 block, something went wrong (...]]></description>
                        <content:encoded><![CDATA[<p>if you do a cat /tmp/chain.pem</p>
<p>is it composed of 2 block of code delimited by "-----BEGIN CERTIFICATE-----" -&gt; "-----END CERTIFICATE-----"  ?</p>
<p>if there is 3 block, something went wrong (remove the 2nd).</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>dominix</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4731</guid>
                    </item>
				                    <item>
                        <title>RE: Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4729</link>
                        <pubDate>Thu, 23 Mar 2023 05:45:50 +0000</pubDate>
                        <description><![CDATA[Posted by: @dominix 
you may have missed this part :

It&#039;s the 2nd line in the commands block]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="822" data-postid="4728" data-mention="dominix">
<div class="wpforo-post-quote-author"><strong> Posted by: @dominix </strong></div>
<p>you may have missed this part :</p>
</blockquote>
<p>It's the 2nd line in the commands block</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>regul8or</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4729</guid>
                    </item>
				                    <item>
                        <title>RE: Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4728</link>
                        <pubDate>Wed, 22 Mar 2023 23:38:40 +0000</pubDate>
                        <description><![CDATA[Posted by: @regul8or 
I&#039;m trying to deploy Let&#039;s Encrypt SSL certificate according to this guide.
Run the following commands:
certbot certonly --preferred-chain &quot;ISRG Root X1&quot; -d ...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="70635" data-postid="4684" data-mention="regul8or">
<div class="wpforo-post-quote-author"><strong> Posted by: @regul8or </strong></div>
<p>I'm trying to deploy Let's Encrypt SSL certificate according to <a href="https://community.zextras.com/free-ssl-certificates-for-carbonio-community-edition-using-lets-encrypt-and-certbot/" target="_blank" rel="noopener">this guide</a>.</p>
<p>Run the following commands:</p>
<pre contenteditable="false">certbot certonly --preferred-chain "ISRG Root X1" -d 
cp /etc/letsencrypt/live//privkey.pem /opt/zextras/ssl/carbonio/commercial/commercial.key
cp /etc/letsencrypt/live//cert.pem /tmp
cp /etc/letsencrypt/live//chain.pem /tmp
wget -O /tmp/ISRG-X1.pem https://letsencrypt.org/certs/isrgrootx1.pem.txt
cat /tmp/ISRG-X1.pem &gt;&gt; /tmp/chain.pem
chown zextras:zextras /opt/zextras/ssl/carbonio/commercial/commercial.key</pre>
<p> Then verification</p>
<pre contenteditable="false">su - zextras -c 'zmcertmgr verifycrt comm /opt/zextras/ssl/carbonio/commercial/commercial.key /tmp/cert.pem /tmp/chain.pem'</pre>
<p>gives the following error:</p>
<pre contenteditable="false">** Verifying '/tmp/cert.pem' against '/opt/zextras/ssl/carbonio/commercial/commercial.key'
140636855592256:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:crypto/evp/p_lib.c:474:
ERROR: Certificate '/tmp/cert.pem' and private key '/opt/zextras/ssl/carbonio/commercial/commercial.key' do not match.</pre>
<p>What could be a problem?</p>
</blockquote>
<p>you may have missed this part :</p>
<pre contenteditable="false">cp /etc/letsencrypt/live/mail.sampleserver.xyz/privkey.pem /opt/zextras/ssl/carbonio/commercial/commercial.key</pre>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>dominix</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4728</guid>
                    </item>
				                    <item>
                        <title>RE: Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4685</link>
                        <pubDate>Thu, 16 Mar 2023 15:07:31 +0000</pubDate>
                        <description><![CDATA[Hi,
While I don&#039;t use that acme client for LE, that guide should be updated to reflect that the certbot acme client now defaults to certificate type ec-256 from rsa certificates and zmcertm...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>While I don't use that acme client for LE, that guide should be updated to reflect that the certbot acme client now defaults to <span>certificate type ec-256 from rsa certificates and zmcertmgr doesn't support that without a patch at least with zimbra so perhaps the same thing here. </span></p>
<p>add  <span>--key-type rsa when you issue your certificate </span></p>
<p>I also wrote a deploy method for carbonio that I have been using that I referenced here: https://community.zextras.com/forum/postid/2986/ </p>
<p>Note: acme.sh also changed their default but we use <span>--keylength 2048 to use RSA</span></p>
<p>Ref: https://forums.zimbra.org/viewtopic.php?p=308088#p308088</p>
<p><span>BTW, They have been rewriting a lot and Carbonio should support letsencrypt natively in the future so this kind of stuff will get a lot easier. </span></p>
<p>Jim</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>Jim Dunphy</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4685</guid>
                    </item>
				                    <item>
                        <title>Problem deploying Let&#039;s Encrypt SSL certificate</title>
                        <link>https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4684</link>
                        <pubDate>Thu, 16 Mar 2023 11:15:36 +0000</pubDate>
                        <description><![CDATA[I&#039;m trying to deploy Let&#039;s Encrypt SSL certificate according to this guide.
Run the following commands:
certbot certonly --preferred-chain &quot;ISRG Root X1&quot; -d 
cp /etc/letsencrypt/l...]]></description>
                        <content:encoded><![CDATA[<p>I'm trying to deploy Let's Encrypt SSL certificate according to <a href="https://community.zextras.com/free-ssl-certificates-for-carbonio-community-edition-using-lets-encrypt-and-certbot/" target="_blank" rel="noopener">this guide</a>.</p>
<p>Run the following commands:</p>
<pre contenteditable="false">certbot certonly --preferred-chain "ISRG Root X1" -d 
cp /etc/letsencrypt/live//privkey.pem /opt/zextras/ssl/carbonio/commercial/commercial.key
cp /etc/letsencrypt/live//cert.pem /tmp
cp /etc/letsencrypt/live//chain.pem /tmp
wget -O /tmp/ISRG-X1.pem https://letsencrypt.org/certs/isrgrootx1.pem.txt
cat /tmp/ISRG-X1.pem &gt;&gt; /tmp/chain.pem
chown zextras:zextras /opt/zextras/ssl/carbonio/commercial/commercial.key</pre>
<p> Then verification</p>
<pre contenteditable="false">su - zextras -c 'zmcertmgr verifycrt comm /opt/zextras/ssl/carbonio/commercial/commercial.key /tmp/cert.pem /tmp/chain.pem'</pre>
<p>gives the following error:</p>
<pre contenteditable="false">** Verifying '/tmp/cert.pem' against '/opt/zextras/ssl/carbonio/commercial/commercial.key'
140636855592256:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:crypto/evp/p_lib.c:474:
ERROR: Certificate '/tmp/cert.pem' and private key '/opt/zextras/ssl/carbonio/commercial/commercial.key' do not match.</pre>
<p>What could be a problem?</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-setup/">Install &amp; Setup</category>                        <dc:creator>regul8or</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-setup/problem-deploying-lets-encrypt-ssl-certificate/#post-4684</guid>
                    </item>
							        </channel>
        </rss>
		