<?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>
									zmcertmgr - Error Deploying SSL Certificates - Zimbra Build by Zextras - no Zextras support guaranteed				            </title>
            <link>https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmcertmgr-error-deploying-ssl-certificates/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 14 Aug 2026 18:53:20 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: zmcertmgr - Error Deploying SSL Certificates</title>
                        <link>https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmcertmgr-error-deploying-ssl-certificates/#post-9891</link>
                        <pubDate>Tue, 28 Jan 2025 10:13:35 +0000</pubDate>
                        <description><![CDATA[Thats been a live saver. Thanks for taking the time to put this up - I owe some good Karma now! ;-)]]></description>
                        <content:encoded><![CDATA[<p>Thats been a live saver. Thanks for taking the time to put this up - I owe some good Karma now! ;-)</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/zimbra-ose-9-by-zextras/">Zimbra Build by Zextras - no Zextras support guaranteed</category>                        <dc:creator>donty</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmcertmgr-error-deploying-ssl-certificates/#post-9891</guid>
                    </item>
				                    <item>
                        <title>zmcertmgr - Error Deploying SSL Certificates</title>
                        <link>https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmcertmgr-error-deploying-ssl-certificates/#post-7321</link>
                        <pubDate>Sat, 02 Mar 2024 16:13:35 +0000</pubDate>
                        <description><![CDATA[We use a shell script to install and update a LetsEncrypt SSL certificate on our Zimbra 9 (Zextras) installation.
On the last renewal, we got this error:
** Creating file &#039;/opt/zimbra/ssl/...]]></description>
                        <content:encoded><![CDATA[<p>We use a shell script to install and update a LetsEncrypt SSL certificate on our Zimbra 9 (Zextras) installation.</p>
<p>On the last renewal, we got this error:</p>
<pre contenteditable="false">** Creating file '/opt/zimbra/ssl/zimbra/jetty.pkcs12'
ERROR: openssl pkcs12 export to '/opt/zimbra/ssl/zimbra/jetty.pkcs12' failed(1):
pkcs12: Unrecognized flag propquery</pre>
<p>I found this similar post in this forum: https://community.zextras.com/forum/zimbra-ose-howto/error-openssl-pkcs12-export-to-opt-zimbra-ssl-zimbra-jetty-pkcs12-failed1/</p>
<p>I found the same solution seems to fix the problem I was having.</p>
<p>As zimbra user, edit /opt/zimbra/bin/zmcertmgr line 1817 and line 1878.  On both lines, modify the @out array, like this:</p>
<pre contenteditable="false">      @out = $self-&gt;run(
            $self-&gt;Openssl, "pkcs12", "-inkey", $keyf,
            "-in",          $crtf,    "-name",  $server,
            "-export",      "-out",   $pkcsf,   "-passout",
            "pass:$kpass",  "-nomac", "2&gt;&amp;1"
        );</pre>
<p>I don't know if this is correct, but it seems to work for me.</p>
<p>I think this issue was caused by an upstream change to use a new version of openssl.  You can check yours with:</p>
<pre contenteditable="false">su - zimbra

openssl version
OpenSSL 1.1.1t FIPS 7 Feb 2023
</pre>
<p>FYI only...</p>
<p>G</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/zimbra-ose-9-by-zextras/">Zimbra Build by Zextras - no Zextras support guaranteed</category>                        <dc:creator>Virtual Architects LLC</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/zimbra-ose-9-by-zextras/zmcertmgr-error-deploying-ssl-certificates/#post-7321</guid>
                    </item>
							        </channel>
        </rss>
		