{"id":150,"date":"2019-07-09T07:27:48","date_gmt":"2019-07-09T07:27:48","guid":{"rendered":"https:\/\/www.ssls.com\/knowledgebase\/?p=150"},"modified":"2023-11-02T13:07:01","modified_gmt":"2023-11-02T13:07:01","slug":"how-can-i-find-the-private-key-for-my-ssl-certificate","status":"publish","type":"post","link":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/","title":{"rendered":"How can I find my certificate\u2019s Private Key?"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><a href=\"#private_key\">What Is a Private Key?<\/a> <\/li><li><a href=\"#in-browser\">Finding your Private Key when you created the CSR in-browser<\/a><\/li><li><a href=\"#finding_key\">Finding your Private Key on Different Servers or Control Panels<\/a><ul><li><a href=\"#linux_based\">Linux-Based (Apache, Nginx, LightHttpd)<\/a><\/li><li><a href=\"#windows\">Windows Operating Systems<\/a><\/li><li><a href=\"#mac_os_x\">Mac OS X<\/a><\/li><li><a href=\"#tomcat\">Tomcat<\/a><\/li><li><a href=\"#cpanel\">cPanel<\/a><\/li><li><a href=\"#whm\">WHM<\/a><\/li><li><a href=\"#plesk\">Plesk<\/a><\/li><li><a href=\"#synology_nas\">Synology NAS DSM<\/a><\/li><li><a href=\"#webmin\">Webmin<\/a><\/li><li><a href=\"#vestacp\">VestaCP<\/a><\/li><li><a href=\"#direct_admin\">DirectAdmin<\/a><\/li><li><a href=\"#webuzo\">Webuzo<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"private_key\"><strong>What Is a Private Key?<\/strong><\/h2>\n\n\n\n<p>You\u2019ve <a href=\"https:\/\/www.ssls.com\/knowledgebase\/Can-I-download-certificate-somewhere-on-your-site-\">received your SSL Certificate<\/a>, and now you need to install it.<\/p>\n\n\n\n<p>Firstly, let\u2019s go through some basics. Public Key Infrastructure (PKI) security is about using two unique keys: the Public Key is encrypted within your SSL Certificate, while the Private Key is generated on your server and kept secret.<\/p>\n\n\n\n<p>All the information sent from a browser to a website server is encrypted with the Public Key and gets decrypted on the server-side with the Private Key. Together the key pair keeps communication secured, and one key will not work without the other.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I get it?<\/h3>\n\n\n\n<p>The Private Key is generated with your Certificate Signing Request (CSR). The CSR is submitted to the Certificate Authority right after you activate your Certificate. The Private Key must be kept safe and secret on your server or device because later you\u2019ll need it for Certificate installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I generate a new Private Key for my Certificate if I lose the old one?<\/h3>\n\n\n\n<p>Yes. You can <a href=\"https:\/\/www.ssls.com\/knowledgebase\/category\/CSR-generation-instructions\">generate a new Private Key and CSR<\/a>, or use the automatic CSR and key generation during <a href=\"https:\/\/www.ssls.com\/knowledgebase\/How-can-I-get-my-certificate-reissued-\">Certificate reissue<\/a> (this option is available for all Certificates except for the Multi-Domains).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What does the Private Key look like?<\/h3>\n\n\n\n<p>It looks like a block of encoded data, starting and ending with headers, such as &#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211; and &#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;.<\/p>\n\n\n\n<p>You may not get to see this code when generating your <a href=\"https:\/\/www.ssls.com\/knowledgebase\/where-can-i-find-instructions-on-how-to-generate-a-csr\/\">CSR<\/a>. Usually, it gets generated in the background with the CSR and is automatically saved on your server. The system also fills the corresponding field automatically during the installation of your Certificate in some control panels, such as cPanel.<\/p>\n\n\n\n<p>The way this works varies depending on your web server, control panel, or any other tools used for CSR generation. Select the one that applies to you in the following section for specific guidance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"in-browser\"><strong>Finding your Private Key when you created the CSR in-browser<\/strong><\/h2>\n\n\n\n<p>Generating the Private Key in your browser is an option for all SSL certificates except for <a href=\"https:\/\/www.ssls.com\/domain-type\/multi-domain-ssl-certificates\">multi-domain certificates<\/a>. If you have a multi-domain SSL, you should have generated the CSR on your server, so <a href=\"#finding_key\">skip to the section<\/a> on finding your Private Key on different servers and control panels.<\/p>\n\n\n\n<p>If you chose to create your CSR in-browser during SSL activation, the Private Key is generally downloaded as a zip file to your computer\u2019s \u201cDownloads\u201d folder by default. Alternatively, if you changed your browser settings to save downloaded files to a different folder, it should be saved there.&nbsp;<\/p>\n\n\n\n<p>The file name will consist of your domain name, the word \u201ckey\u201d, and the file extension \u201c.zip\u201d. For instance, for a website called example.com, the file name would be \u201c<strong>example_com_key.zip<\/strong>\u201d.<\/p>\n\n\n\n<p>If you can\u2019t find the Private Key in the previously mentioned folders, use your computer\u2019s search function and enter the file name (i.e., example_com_key.zip). If you still can\u2019t find the Private Key, you will need to <a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-get-my-certificate-reissued\/\">get your SSL reissued<\/a>. Because the in-browser CSR generation method creates the Private Key directly on your device, there\u2019s no way of restoring it if it\u2019s lost. This is why it\u2019s essential to save your Private Key and back it up if you choose this method. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"finding_key\"><strong>Finding your Private Key on Different Servers or Control Panels<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"linux_based\">Linux-based (Apache, NGINX, LightHttpd)<\/h3>\n\n\n\n<p>Normally, the CSR\/RSA Private Key pairs on Linux-based operating systems are generated using the OpenSSL cryptographic engine and saved as files with \u201c.key\u201d or \u201c.pem\u201d extensions on the server.<\/p>\n\n\n\n<p>But no specific extensions are mandatory for text files in Linux, so the key file may have any name and extension, or no extension at all.<\/p>\n\n\n\n<p>If you remember the whole name of the key file or at least part of it, you can use the following command in your console to find the file and its directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo find \/ -name 'filename.key'<\/pre>\n\n\n\n<p>The slash symbol in this command implies that the search begins from the root directory of the server. This way you have more file options to view. The name of the file in between the single quotation marks should be the part of the name that you remember. To search for the file by extension, enter \u201c*.key\u201d to view all the files with the \u201c.key\u201d extension on your server.<\/p>\n\n\n\n<p><strong>Tip: <\/strong>often the name of the file corresponds to the domain name it was generated for e.g. \u201cdomain_tld.key\u201d or \u201cdomain.tld.pem\u201d.<\/p>\n\n\n\n<p>Here\u2019s another useful command that lets you search files by their content:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grep -r --exclude-dir=log --exclude-dir=ssh --exclude=*history -I -l -e '-----BEGIN PRIVATE*' -e '-----BEGIN RSA*' -e \u2018-----BEGIN EC*\u2019 [search_start_folder] 2&gt; \/dev\/null<\/pre>\n\n\n\n<p>This command will return the absolute path to the Private Key file if it\u2019s located on your server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"windows\">Windows Operating Systems (IIS, Exchange, Small Business server)<\/h3>\n\n\n\n<p>Windows servers don\u2019t let you view the Private Key in plain text format. When you import your Certificate via MMC or IIS, the Private Key is bound to it automatically if the CSR\/Key pair has been generated on the same server.<\/p>\n\n\n\n<p>If you need to obtain the Private Key to install your Certificate on a different server, you can export the key in a password-protected PFX (PKCS#12) file. To do that, open the MMC Certificates snap-in tools following these steps:<\/p>\n\n\n\n<p><strong>Win+R<\/strong> &gt; <strong>mmc.exe<\/strong> &gt; <strong>OK<\/strong> &gt; <strong>File<\/strong> &gt; <strong>Add\/Remove Snap-in<\/strong> &gt; <strong>Certificates<\/strong> &gt; <strong>Add<\/strong> &gt; <strong>Computer account<\/strong> &gt; <strong>Next<\/strong> &gt; <strong>Local computer<\/strong> &gt; <strong>Finish<\/strong> &gt; <strong>OK<\/strong><\/p>\n\n\n\n<p>Next, go to <strong>Certificate Enrollment Requests<\/strong> &gt;&gt; <strong>Certificates<\/strong> (if you haven\u2019t completed the Certificate request yet). If you\u2019ve done that, you\u2019d select <strong>Personal<\/strong> &gt;&gt; <strong>Certificates<\/strong>, then right-click the Certificate &gt;&gt; select <strong>All Tasks<\/strong> &gt;&gt; <strong>Export<\/strong>. The Export wizard will open, and give you instructions. You can find more detailed instructions <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/cc754329(v=ws.11).aspx\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once that\u2019s done, you will see the .pfx file containing your Certificate, CA-Bundle, and Private Key. To extract the key, <a href=\"https:\/\/decoder.link\/converter\">use this tool<\/a>. Choose the <strong>PKCS12 to PEM<\/strong> option, then upload the file and enter your chosen password.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mac_os_x\">Mac OS X<\/h3>\n\n\n\n<p>The Keychain tool in the Server application of Mac OS X won\u2019t allow you to access the Private Key via the graphic user interface. Instead use the Terminal, by opening \/etc\/certificates\/ directory and clicking the file.<\/p>\n\n\n\n<p>Its name should be something like \u201c*.key.pem\u201d. And the terminal commands to open the file are: <strong><em>cd \/etc\/certificates\/<\/em><\/strong><em> , <\/em>then <strong><em>ls <\/em><\/strong>, and <strong><em>sudo nano test.key.pem<\/em><\/strong>.<\/p>\n\n\n\n<p><strong>Note<\/strong>: to check if the Private Key matches your Certificate, go <a href=\"https:\/\/decoder.link\/matcher\">here<\/a>. Then paste the Certificate and the Private Key text codes into the required fields and click <strong>Match<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"tomcat\">Tomcat<\/h3>\n\n\n\n<p>If your Tomcat SSL connector is configured in JSSE style, the Private Key must be in a password-protected keystore file with a .jks or .keystore extension. This file, unlike most other cases, is created before the CSR. To extract the Private Key, you\u2019ll need to convert the keystore into a PFX file with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -deststoretype PKCS12 -srcalias &lt;jkskeyalias&gt; -srcstorepass &lt;jkspassword&gt; -srckeypass &lt;keypassword&gt; -deststorepass &lt;newp12password&gt; -destkeypass &lt;newkeypassword&gt;<\/pre>\n\n\n\n<p><strong>Tips:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u201cKeystore.jks\u201d should be replaced with your actual keystore name,<\/li><li>\u201ckeystore.p12\u201d will be the name of the PKCS12 file you will receive,<\/li><li>&lt;jkskeyalias&gt;, &lt;jkspassword&gt; and &lt;keypassword&gt; are the alias (key and keystore passwords that were entered during keystore generation),<\/li><li>&lt;jkskeyalias&gt;, &lt;jkspassword&gt; and &lt;keypassword&gt; should be replaced with your JKS file alias, its password, and Private Key password.<\/li><li>&lt;newp12password&gt; and &lt;newkeypassword&gt; should be replaced with the passwords you set for your new PKCS12 file and the Private Key.<\/li><\/ol>\n\n\n\n<p>After the PKCS12 file is generated, you can convert it to a PEM file with separated CRT, CA-Bundle and KEY files <a href=\"https:\/\/decoder.link\/converter\">using this tool<\/a>. Alternatively, use the following command in the terminal:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">openssl pkcs12 -in keystore.p12 -nocerts -nodes -out private.key<\/pre>\n\n\n\n<p>\u201cPrivate.key\u201d can be replaced with any key file title you like.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cpanel\">cPanel<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">SSL\/TLS Manager<\/h4>\n\n\n\n<p>The simplest way to get the appropriate key used during SSL installation is reflected in the below picture:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/12\/cp_key.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Alternatively, you can find the Private Key in the <strong>Private keys<\/strong> section of the <strong>SSL\/TLS Manager<\/strong>, which can be located in the cPanel main menu. You will see all the Private Keys ever generated in your cPanel. To view the code of the key, click <strong>View &amp; Edit<\/strong>. If there are several keys in that menu, you can copy each of them to find a match with your Certificate code by <a href=\"https:\/\/decoder.link\/matcher\">using this tool<\/a>.<\/p>\n\n\n\n<p>The matching Private key can also be found in the <strong>Certificate Signing Request (CSR)<\/strong> section of the SSL\/TLS Manager. For this, open the &#8220;Certificate Signing Request (CSR)&#8221; menu, locate the CSR code for your certificate, scroll down to the bottom of the page and click the link under &#8220;This CSR uses the following key&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"617\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2022\/04\/private_key.png\" alt=\"\" class=\"wp-image-5796\" srcset=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2022\/04\/private_key.png 711w, https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2022\/04\/private_key-300x260.png 300w, https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2022\/04\/private_key-150x130.png 150w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n\n\n<p>Just copy the Private key code from the following window and use it for further installation.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">File manager<\/h4>\n\n\n\n<p>On the homepage of your cPanel, click <strong>File manager<\/strong>. Find the folder named \u201cssl\u201d in the folder tree to the left (see screenshot). That folder will contain another folder named \u201ckeys\u201d. This key folder also contains all the keys ever generated in your cPanel.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_3.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"whm\">WHM<\/h3>\n\n\n\n<p>WHM stores your Private Keys and CSR codes in the <strong>SSL Storage Manager<\/strong> menu. On the homepage, click <strong>SSL\/TLS<\/strong> &gt;&gt; <strong>SSL Storage Manager<\/strong>. To view the Private Key, click the magnifier icon next to the relevant key in the <strong>Key<\/strong> column.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_5.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"plesk\">Plesk<\/h3>\n\n\n\n<p>Click <strong>Domains<\/strong> &gt; your domain &gt; <strong>SSL\/TLS Certificates<\/strong>. You\u2019ll see a page like the one shown below. The key icon with the message \u201cPrivate key part supplied\u201d means there is a matching key on your server.<\/p>\n\n\n\n<p>To get it in plain text format, click the name and scroll down the page until you see the key code. Alternatively, click the green arrow icon on the right. This will download a PEM file, containing your Private Key, Certificate, and CA-Bundle files (if they were previously imported to the server). The files can be opened in any text editor, such as Notepad.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_6.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"synology_nas\">Synology NAS DSM<\/h3>\n\n\n\n<p>When generating a <a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-synology-nas\/\">CSR in Synology DSM<\/a>, the Private Key is provided to you in a zip file on the last step. The key code is contained within a server.key file, that can be opened with a text editor, such as Notepad.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_7.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"webmin\">Webmin<\/h3>\n\n\n\n<p>Webmin works as a graphic user interface (GUI) on top of the command-line interface. There is also a file manager called Filemin, that you can use to browse the server file system and find your Private Key file. Alternatively, go to <strong>Others<\/strong> &gt; <strong>Command Shell<\/strong> and run the <em>find <\/em>or <em>grep <\/em>command, which you can find in the <strong>Linux Operating Systems<\/strong> section above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_8.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vestacp\">VestaCP<\/h3>\n\n\n\n<p>Your Private Key needs to be saved during CSR generation, as it will not be available via the graphic user interface.<\/p>\n\n\n\n<p>That said, you may be able to retrieve your Private Key via SSH. It is saved as a temporary file in the \u201c\/tmp\u201d folder. The path to the file will look something like this: \u201c\/tmp\/tmp.npAnkmWFcu\/domain.com.key\u201d.<\/p>\n\n\n\n<p><strong>Note:<\/strong> the files in the \/tmp directory are deleted every time your server is rebooted, so this is not a safe place to store your Private Key.<\/p>\n\n\n\n<p>To get the path to your key file, use this Linux command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">find \/tmp -type f -name \u201cdomain.com.key\u201d<\/pre>\n\n\n\n<p>Where you see \u201cdomain.com\u201d, replace this with the actual domain name you generated the CSR for.<\/p>\n\n\n\n<p>The path to your key file can also be found using the grep command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grep -r -I -l -e \u2018-----BEGIN PRIVATE*\u2019 -e \u2018-----BEGIN RSA*\u2019 \/tmp 2&gt; \/dev\/null<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"direct_admin\">DirectAdmin<\/h3>\n\n\n\n<p>In the up-to-date version of DirectAdmin, your Private Key is saved on the server. Access it in the \u201cPaste a pre-generated Certificate and key\u201d field during installation.<\/p>\n\n\n\n<p>If that section is empty, it may mean the CSR and key were generated elsewhere, or the key was not saved in DirectAdmin due to a glitch. If a glitch happened, try retrieving the key via SSH. Usually, it is saved in this directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/directadmin\/data\/users\/&lt;user&gt;\/domains\/&lt;domain&gt;.key<\/pre>\n\n\n\n<p><strong>Note:<\/strong> &lt;user&gt; and &lt;domain&gt; are your DirectAdmin details.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"webuzo\">Webuzo<\/h3>\n\n\n\n<p>On the homepage, find the SSL management section by clicking the Private Keys button. This will display a list of all the Private Keys generated in Webuzo. To see the key code, click the pencil icon to the right under the <strong>Option<\/strong> column, as shown in the screenshot below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_9.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>To sum up, ways to find your Private Key fully depend on the interface of the webserver where you generate the CSR. If the methods described above did not help you find the Private Key for your certificate, the only solution would be to generate a new CSR\/Private Key pair and reissue your certificate, and to make sure that the key is saved on your server\/local computer this time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What Is a Private Key? Finding your Private Key when you created the CSR in-browser Finding your Private Key on Different Servers or Control Panels Linux-Based (Apache, Nginx, LightHttpd) Windows Operating Systems Mac OS X Tomcat cPanel WHM Plesk Synology NAS DSM Webmin VestaCP DirectAdmin Webuzo What Is a Private Key? You\u2019ve received your SSL ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-ssl-installation-instructions","category-troubleshooting-errors"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com\" \/>\n<meta property=\"og:description\" content=\"What Is a Private Key? Finding your Private Key when you created the CSR in-browser Finding your Private Key on Different Servers or Control Panels Linux-Based (Apache, Nginx, LightHttpd) Windows Operating Systems Mac OS X Tomcat cPanel WHM Plesk Synology NAS DSM Webmin VestaCP DirectAdmin Webuzo What Is a Private Key? You\u2019ve received your SSL ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL Certificate Knowledgebase | SSLs.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SSLsCom\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-09T07:27:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-02T13:07:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\" \/>\n<meta name=\"author\" content=\"sslbizdev\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:site\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sslbizdev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\"},\"author\":{\"name\":\"sslbizdev\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\"},\"headline\":\"How can I find my certificate\u2019s Private Key?\",\"datePublished\":\"2019-07-09T07:27:48+00:00\",\"dateModified\":\"2023-11-02T13:07:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\"},\"wordCount\":2154,\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\",\"articleSection\":[\"SSL Installation instructions\",\"Troubleshooting errors\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\",\"name\":\"How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\",\"datePublished\":\"2019-07-09T07:27:48+00:00\",\"dateModified\":\"2023-11-02T13:07:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\",\"contentUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ssls.com\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can I find my certificate\u2019s Private Key?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"name\":\"SSL Certificate Knowledgebase | SSLs.com\",\"description\":\"SSL Knowledgebase | SSLs.com\",\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\",\"name\":\"SSLs.com\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"contentUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"width\":400,\"height\":400,\"caption\":\"SSLs.com\"},\"image\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SSLsCom\",\"https:\/\/x.com\/SSLscom\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\",\"name\":\"sslbizdev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"caption\":\"sslbizdev\"},\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/","og_locale":"en_US","og_type":"article","og_title":"How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com","og_description":"What Is a Private Key? Finding your Private Key when you created the CSR in-browser Finding your Private Key on Different Servers or Control Panels Linux-Based (Apache, Nginx, LightHttpd) Windows Operating Systems Mac OS X Tomcat cPanel WHM Plesk Synology NAS DSM Webmin VestaCP DirectAdmin Webuzo What Is a Private Key? You\u2019ve received your SSL ..Read more","og_url":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/","og_site_name":"SSL Certificate Knowledgebase | SSLs.com","article_publisher":"https:\/\/www.facebook.com\/SSLsCom","article_published_time":"2019-07-09T07:27:48+00:00","article_modified_time":"2023-11-02T13:07:01+00:00","og_image":[{"url":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png","type":"","width":"","height":""}],"author":"sslbizdev","twitter_card":"summary_large_image","twitter_creator":"@SSLscom","twitter_site":"@SSLscom","twitter_misc":{"Written by":"sslbizdev","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#article","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/"},"author":{"name":"sslbizdev","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806"},"headline":"How can I find my certificate\u2019s Private Key?","datePublished":"2019-07-09T07:27:48+00:00","dateModified":"2023-11-02T13:07:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/"},"wordCount":2154,"publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"image":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png","articleSection":["SSL Installation instructions","Troubleshooting errors"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/","url":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/","name":"How can I find my certificate\u2019s Private Key? \u2013 HelpDesk | SSLs.com","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage"},"image":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png","datePublished":"2019-07-09T07:27:48+00:00","dateModified":"2023-11-02T13:07:01+00:00","breadcrumb":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#primaryimage","url":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png","contentUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/privatkey_2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-can-i-find-the-private-key-for-my-ssl-certificate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ssls.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How can I find my certificate\u2019s Private Key?"}]},{"@type":"WebSite","@id":"https:\/\/www.ssls.com\/knowledgebase\/#website","url":"https:\/\/www.ssls.com\/knowledgebase\/","name":"SSL Certificate Knowledgebase | SSLs.com","description":"SSL Knowledgebase | SSLs.com","publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization","name":"SSLs.com","url":"https:\/\/www.ssls.com\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/","url":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","contentUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","width":400,"height":400,"caption":"SSLs.com"},"image":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SSLsCom","https:\/\/x.com\/SSLscom"]},{"@type":"Person","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806","name":"sslbizdev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","caption":"sslbizdev"},"url":"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/"}]}},"publishpress_future_action":{"enabled":false,"date":"2026-04-12 09:59:12","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":6,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":5798,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/150\/revisions\/5798"}],"wp:attachment":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}