{"id":27858,"date":"2026-03-04T18:43:04","date_gmt":"2026-03-04T16:43:04","guid":{"rendered":"https:\/\/www.cheops-technology.ch\/docs\/how-do-i-generate-a-private-key-from-linux\/"},"modified":"2026-03-05T12:58:43","modified_gmt":"2026-03-05T10:58:43","password":"","slug":"how-do-i-generate-a-private-key-from-linux","status":"publish","type":"docs","link":"https:\/\/www.cheops-technology.ch\/en\/docs\/how-do-i-generate-a-private-key-from-linux\/","title":{"rendered":"How do I generate a private key from Linux?"},"content":{"rendered":"\n<p>From your Linux, go to the desired folder to generate the key, then type the following command:<br\/><br\/><\/p>\n\n<div class=\"betterdocs-code-snippet-wrapper theme-light betterdocs-code-snippet-fbdf7c2e\"\n     id=\"betterdocs-code-snippet-fbdf7c2e\"\n     data-language=\"bash\"\n     data-copy-button=\"true\">\n\n    \n    <div class=\"betterdocs-code-snippet-content\">\n        \n        <pre class=\"betterdocs-code-snippet-code language-bash\"><code>openssl genrsa -out www.yourdomain-example.com.key 2048<\/code><\/pre>\n    <\/div>\n<\/div>\n\n<script type=\"text\/javascript\">\ndocument.addEventListener('DOMContentLoaded', function() {\n    \/\/ Initialize copy functionality for this specific snippet\n    const snippet = document.getElementById('betterdocs-code-snippet-fbdf7c2e');\n    if (snippet && window.BetterDocsCodeSnippet) {\n        window.BetterDocsCodeSnippet.initCopyButton(snippet);\n    }\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>From your Linux, go to the desired folder to generate the key, then type the following command:<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[129],"doc_tag":[],"class_list":["post-27858","docs","type-docs","status-publish","hentry","doc_category-ssl-certificates"],"year_month":"2026-05","word_count":17,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Support","author_nicename":"support","author_url":"https:\/\/www.cheops-technology.ch\/en\/author\/support\/"},"doc_category_info":[{"term_name":"SSL Certificates","term_url":"https:\/\/www.cheops-technology.ch\/en\/docs-category\/ssl-certificates\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/comments?post=27858"}],"version-history":[{"count":1,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27858\/revisions"}],"predecessor-version":[{"id":27860,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/docs\/27858\/revisions\/27860"}],"wp:attachment":[{"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/media?parent=27858"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_category?post=27858"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.cheops-technology.ch\/en\/wp-json\/wp\/v2\/doc_tag?post=27858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}