{"id":4403,"date":"2026-07-24T23:43:35","date_gmt":"2026-07-24T21:43:35","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/"},"modified":"2026-07-24T23:43:36","modified_gmt":"2026-07-24T21:43:36","password":"","slug":"cum-generez-un-csr-cu-openssl","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/","title":{"rendered":"Cum generez un CSR folosind OpenSSL (Apache, Nginx, Lighttpd)"},"content":{"rendered":"<p>Pentru serverele care folosesc OpenSSL (Apache, Nginx, Lighttpd \u0219i altele), generarea unui CSR se face identic, direct din linia de comand\u0103.<\/p>\n<h2>Pa\u0219i<\/h2>\n<ol>\n<li>Autentific\u0103-te pe server prin <strong>SSH<\/strong>.<\/li>\n<li>Ruleaz\u0103 comanda de mai jos, \u00eenlocuind <code>domeniultau<\/code> cu numele real al domeniului:<\/li>\n<\/ol>\n<pre>openssl req -new -newkey rsa:2048 -nodes -keyout domeniultau.key -out domeniultau.csr<\/pre>\n<ol start=\"3\">\n<li>Completeaz\u0103 informa\u021biile solicitate (\u021bar\u0103, localitate, organiza\u021bie \u0219i <em>Common Name<\/em> = domeniul pentru care ceri certificatul).<\/li>\n<\/ol>\n<p>Comanda genereaz\u0103 dou\u0103 fi\u0219iere: cheia privat\u0103 (<code>domeniultau.key<\/code> \u2014 p\u0103streaz-o \u00een siguran\u021b\u0103, nu o trimite nim\u0103nui) \u0219i CSR-ul (<code>domeniultau.csr<\/code>), pe care \u00eel transmi\u021bi la comanda certificatului.<\/p>\n<p>Procesul este identic indiferent de serverul web folosit (Apache, Nginx sau Lighttpd) \u2014 difer\u0103 doar modul de instalare a certificatului emis, ulterior.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pentru serverele care folosesc OpenSSL (Apache, Nginx, Lighttpd \u0219i altele), generarea unui CSR se face identic, direct din linia de comand\u0103. Pa\u0219i Autentific\u0103-te pe server prin SSH. Ruleaz\u0103 comanda de mai jos, \u00eenlocuind domeniultau cu numele real al domeniului: openssl req -new -newkey rsa:2048 -nodes -keyout domeniultau.key -out domeniultau.csr Completeaz\u0103 informa\u021biile solicitate (\u021bar\u0103, localitate, organiza\u021bie &#8230; <a title=\"Cum generez un CSR folosind OpenSSL (Apache, Nginx, Lighttpd)\" class=\"read-more\" href=\"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/\" aria-label=\"Cite\u0219te mai multe despre Cum generez un CSR folosind OpenSSL (Apache, Nginx, Lighttpd)\">Cite\u0219te mai mult<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":0,"footnotes":""},"doc_category":[93],"doc_tag":[242,241,238,243,229,239,240],"class_list":["post-4403","docs","type-docs","status-publish","hentry","doc_category-csr","doc_tag-apache","doc_tag-certificat","doc_tag-csr","doc_tag-linia-de-comanda","doc_tag-nginx","doc_tag-openssl","doc_tag-ssh"],"year_month":"2026-09","word_count":120,"total_views":"18","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"benyhill","author_nicename":"benyhill","author_url":"https:\/\/www.hostx.ro\/kb\/author\/benyhill\/"},"doc_category_info":[{"term_name":"CSR","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/csr\/"}],"doc_tag_info":[{"term_name":"Apache","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/apache\/"},{"term_name":"certificat","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/certificat\/"},{"term_name":"CSR","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/csr\/"},{"term_name":"linia de comand\u0103","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/linia-de-comanda\/"},{"term_name":"Nginx","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/nginx\/"},{"term_name":"OpenSSL","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/openssl\/"},{"term_name":"SSH","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/ssh\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.\" \/>\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.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-24T21:43:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-generez-un-csr-cu-openssl\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-generez-un-csr-cu-openssl\\\/\",\"name\":\"Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-07-24T21:43:35+00:00\",\"dateModified\":\"2026-07-24T21:43:36+00:00\",\"description\":\"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-generez-un-csr-cu-openssl\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-generez-un-csr-cu-openssl\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-generez-un-csr-cu-openssl\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum generez un CSR folosind OpenSSL (Apache, Nginx, Lighttpd)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX","description":"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.","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.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/","og_locale":"ro_RO","og_type":"article","og_title":"Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX","og_description":"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-24T21:43:36+00:00","twitter_card":"summary_large_image","twitter_misc":{"Timp estimat pentru citire":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/","url":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/","name":"Generare CSR OpenSSL Apache Nginx Lighttpd - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-07-24T21:43:35+00:00","dateModified":"2026-07-24T21:43:36+00:00","description":"Ghid complet pentru generarea CSR cu OpenSSL pe Apache, Nginx \u0219i Lighttpd. Pa\u0219i simpli prin SSH pentru crearea certificatelor SSL.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-generez-un-csr-cu-openssl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum generez un CSR folosind OpenSSL (Apache, Nginx, Lighttpd)"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/4403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=4403"}],"version-history":[{"count":1,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/4403\/revisions"}],"predecessor-version":[{"id":4404,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/4403\/revisions\/4404"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=4403"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=4403"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=4403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}