Files
doc-exports/docs/css/umn/css_02_0128.html
zhengxiu 93d856d5c5 css umn 25.6.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: zhengxiu <zhengxiu@huawei.com>
Co-committed-by: zhengxiu <zhengxiu@huawei.com>
2025-11-25 11:34:43 +00:00

17 lines
2.6 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="EN-US_TOPIC_0000001933318510"></a><a name="EN-US_TOPIC_0000001933318510"></a>
<h1 class="topictitle1">How Do I Convert the Format of a CER Security Certificate in CSS?</h1>
<div id="body0000001475492933"><p id="EN-US_TOPIC_0000001933318510__p18791659155112">The security certificate (<strong id="EN-US_TOPIC_0000001933318510__b8925154318437">CloudSearchService</strong><strong id="EN-US_TOPIC_0000001933318510__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="EN-US_TOPIC_0000001933318510__filepath5677184411538"><b>.pem</b></span> or <span class="filepath" id="EN-US_TOPIC_0000001933318510__filepath13998165455310"><b>.jks</b></span> format. You need to convert the format of the CSS security certificate.</p>
<ul id="EN-US_TOPIC_0000001933318510__ul1356123112513"><li id="EN-US_TOPIC_0000001933318510__li635673155118">Run the following command to convert the security certificate from <span class="filepath" id="EN-US_TOPIC_0000001933318510__filepath1811824054911"><b>.cer</b></span> to <span class="filepath" id="EN-US_TOPIC_0000001933318510__filepath547213430498"><b>.pem</b></span>:<pre class="screen" id="EN-US_TOPIC_0000001933318510__screen283925135011">openssl x509 -inform pem -in CloudSearchService.cer out <i><span class="varname" id="EN-US_TOPIC_0000001933318510__varname4281222155111">newname</span></i>.pem</pre>
</li><li id="EN-US_TOPIC_0000001933318510__li8358173535211">Run the following command to convert the security certificate from <span class="filepath" id="EN-US_TOPIC_0000001933318510__filepath1690153665114"><b>.cer</b></span> to <span class="filepath" id="EN-US_TOPIC_0000001933318510__filepath1825914411526"><b>.jks</b></span>:<pre class="screen" id="EN-US_TOPIC_0000001933318510__screen1896095025212">keytool -import -alias <i><span class="varname" id="EN-US_TOPIC_0000001933318510__varname149601950205211">newname</span></i> -keystore ./truststore.jks -file ./CloudSearchService.cer </pre>
</li></ul>
<p id="EN-US_TOPIC_0000001933318510__p20916163317133">In the preceding commands, <em id="EN-US_TOPIC_0000001933318510__i548316543512">newname</em> indicates the user-defined certificate name.</p>
<p id="EN-US_TOPIC_0000001933318510__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_0137.html">Managing CSS Clusters</a></div>
</div>
</div>