doc-exports/docs/css/umn/css_02_0128.html
Zheng, Xiu 5b5876528a CSS UMN 22.5.1 Version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com>
Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2023-03-29 17:17:49 +00:00

17 lines
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="css_02_0128"></a><a name="css_02_0128"></a>
<h1 class="topictitle1">How Do I Convert the Format of a CER Security Certificate?</h1>
<div id="body0000001475492933"><p id="css_02_0128__p18791659155112">The security certificate (<strong id="css_02_0128__b8925154318437">CloudSearchService</strong><strong id="css_02_0128__b4926144384317">.cer</strong>) can be downloaded only for security clusters that have enabled HTTPS access. Most software supports certificates in the <span class="filepath" id="css_02_0128__filepath5677184411538"><b>.pem</b></span> or <span class="filepath" id="css_02_0128__filepath13998165455310"><b>.jks</b></span> format. You need to convert the format of the CSS security certificate.</p>
<ul id="css_02_0128__ul1356123112513"><li id="css_02_0128__li635673155118">Run the following command to convert the security certificate from <span class="filepath" id="css_02_0128__filepath1811824054911"><b>.cer</b></span> to <span class="filepath" id="css_02_0128__filepath547213430498"><b>.pem</b></span>:<pre class="screen" id="css_02_0128__screen283925135011">openssl x509 -inform der -in CloudSearchService.cer out <i><span class="varname" id="css_02_0128__varname4281222155111">newname</span></i>.pem</pre>
</li><li id="css_02_0128__li8358173535211">Run the following command to convert the security certificate from <span class="filepath" id="css_02_0128__filepath1690153665114"><b>.cer</b></span> to <span class="filepath" id="css_02_0128__filepath1825914411526"><b>.jks</b></span>:<pre class="screen" id="css_02_0128__screen1896095025212">keytool -import -alias <i><span class="varname" id="css_02_0128__varname149601950205211">newname</span></i> -keystore ./truststore.jks -file ./CloudSearchService.cer </pre>
</li></ul>
<p id="css_02_0128__p20916163317133">In the preceding commands, <em id="css_02_0128__i548316543512">newname</em> indicates the user-defined certificate name.</p>
<p id="css_02_0128__p16714243162713">After the command is executed, set the certificate password and confirm the password as prompted. Securely store the password. It will be used for accessing the cluster.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0063.html">Clusters in Security Mode</a></div>
</div>
</div>