{"id":1589,"date":"2016-12-06T07:08:00","date_gmt":"2016-12-06T07:08:00","guid":{"rendered":"http:\/\/neu.koetzingit.de\/netscaler-und-zertifikate-der-einfach-weg\/"},"modified":"2026-06-02T13:33:15","modified_gmt":"2026-06-02T13:33:15","slug":"netscaler-und-zertifikate-der-einfach-weg","status":"publish","type":"post","link":"https:\/\/www.koetzingit.de\/en\/netscaler-und-zertifikate-der-einfach-weg\/","title":{"rendered":"Netscaler and Certificates: The Easy Way"},"content":{"rendered":"<p><span class=\"dropcapmiddle\">V<\/span>Many of my clients struggle when it comes to certificates, and I\u2019m just talking about the basics, not the entire PKI. On top of that, Citrix NetScaler is based on Linux, which seems to make things even more difficult. People also tend to overcomplicate things, which then makes it seem almost impossible. It should be normal to understand what you\u2019re doing (at least to some extent), but many just want a step-by-step guide they can follow.<\/p>\n<p>The above is my explanation of why many people have trouble with Netscaler and certificates. A detailed explanation of the \u201eeasy way\u201c won\u2019t make it look as simple as the step-by-step guide, but once you understand it, it will make the whole process even easier.<\/p>\n<p>I need to make certain assumptions and require some basic knowledge:\u00a0<\/p>\n<p><!--more--><\/p>\n<ol>\n<li>You are primarily a Windows administrator (Linux isn't really your thing)<\/li>\n<li>You know how to create a certificate request in Windows, for example, in IIS<br \/><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/cc732906(v=ws.10).aspx\">Request a server certificate using IIS<\/a>\u00a0(Use 2048-bit length)<\/li>\n<li>You know how to export certificates using MMC\/IIS<br \/><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/cc731386(v=ws.10).aspx\">Export a server certificate using IIS<\/a>\u00a0(Use at least 5 characters for the password)<\/li>\n<li>Basic Netscaler Knowledge<\/li>\n<\/ol>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">General Certificate Requirements<\/span><\/h3>\n<p>For me, there are two key points when it comes to certificates:<\/p>\n<p style=\"padding-left: 30px;\">A: Always the <strong>Fully Qualified Domain Names<\/strong> (FQDN)! such as ctx.dom.com Using the hostname or, worse yet, the IP address is a<strong>\u00a0NO WAY!<\/strong> <br \/>B: Use of the current public-key standard with a bit length of <strong>2048-bit<\/strong>.<\/p>\n<p>You should know that a higher bit length provides greater security, but on the other hand, it drastically reduces compatibility with other clients, devices, etc. A few years ago, the standard was still 512 bits, but since no one uses Windows 95 or similar systems anymore, it was increased to 2048. <br \/>For example: Citrix NetScaler VPX supports 4096-bit encryption for its own virtual servers but only 2048-bit encryption for back-end systems.\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">Explanation of the Simple Path<\/span><\/h3>\n<p>You can skip the explanation if you don't want to learn anything and scroll down to the step-by-step instructions.<\/p>\n<p>Below, I will explain the process. It may seem difficult at first glance, but please take a minute to look at the images and understand the steps. I\u2019ll start from the point after the certificate has been exported as a PFX via IIS or MMC. If you don\u2019t know how to do that, go back to requirements 2 and 3.<\/p>\n<p>The process is divided into two parts; the second part is often overlooked but absolutely must be done!\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><strong>Part One \u2013 The Certificate<\/strong><\/p>\n<p>Two steps are required. First, convert the certificate format. The exported PFX file is a Microsoft-based format, and its Linux counterpart is the PKCS#12 format saved in a PEM file. Think of it as converting a JPG image to a PNG image. Since these files contain the private key, the data must be protected with a password (use at least 5 characters). Once the certificate is in the correct format, it can be installed and will be split into a certificate and a private key.<\/p>\n<p>Here is a diagram of the process:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1583\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-flow.jpg\" alt=\"Blogs Ns Certs Flow\" width=\"800\" height=\"172\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-flow.jpg 800w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-flow-300x65.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-flow-768x165.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>Part Two \u2013 The Certificate Chain<\/strong><\/p>\n<p>Hurray! We have a certificate in Netscaler, but does it work properly? It will work for some clients (mainly Windows clients), but others will receive a certificate warning or be unable to connect. Why is that? A certificate comes with a chain that indicates its origin\u2014like a family tree. Typically, your certificate was issued by a root certificate authority (<strong>Certificate Authority<\/strong>, (a type of authority) and is referred to as a Root CA for short. There may also be an \u201eintermediary\u201c that has been authorized by the authority; the certificate was obtained from this \u201eintermediary\u201c and is called an intermediate Certificate Authority.<\/p>\n<p>The certificate chain for such a certificate would look like this:<\/p>\n<p style=\"padding-left: 30px;\">\u2013 Root CA (Authorized)<\/p>\n<p style=\"padding-left: 60px;\">\u2013 Intermediate CA (Created)<\/p>\n<p style=\"padding-left: 90px;\">\u2013 Server Certificate (Requested by you)<\/p>\n<p style=\"padding-left: 90px;\">\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1584\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/certs_chain01.jpg\" alt=\"Certs Chain01\" width=\"300\" height=\"372\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/certs_chain01.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/certs_chain01-242x300.jpg 242w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>When importing (converting) the certificate, the chain <strong>not included<\/strong> and must be done via <strong>LINK<\/strong> The certificates can be restored. Use Windows again to export the root and intermediate certificates in DER format. Then simply install the exported certificates in Netscaler. The important part is then \u201elinking\u201c the certificates to rebuild the chain.<\/p>\n<p>Done! The certificate can now be bound to any Netscaler vServer.<br \/>\u00a0\u00a0<\/p>\n<h3><span class=\"label label-success\">Step-by-step instructions<\/span><\/h3>\n<p>Following the explanation, here are the step-by-step instructions:<\/p>\n<p><strong>Part I (Import Certificate)<\/strong><\/p>\n<ol>\n<li>Export the certificate as a PFX file (minimum 5-character password)<\/li>\n<li>Export root and intermediate certificates in DER format<\/li>\n<li>Netscaler: <strong>Traffic Management \/ SSL \/ Import PKCS#12<\/strong><br \/>PKCS#12 file: <strong>my.cert_2016.pfx<\/strong><br \/>Output file name: <strong>my.cert_2016.pem<\/strong><br \/>Encoding Format: <strong>DES3<\/strong><br \/>Password = Passphrase &lt;- can be the same<\/li>\n<li>Click OK (Conversion complete!!)\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1585\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/ns-import-pfx.jpg\" alt=\"Ns Import Pfx\" width=\"300\" height=\"410\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/ns-import-pfx.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/ns-import-pfx-220x300.jpg 220w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<\/li>\n<li>Netscaler: <strong>Traffic Management \/ SSL \/ SSL Certificates \/ Server Certificates<\/strong><br \/>Certificate File Name: <strong>my.cert_2016.pem<\/strong><br \/>Certificate-Key Pair Name:<strong>my.cert_2016<\/strong><br \/>Password = Passphrase<\/li>\n<li>Click INSTALL (Done!)\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1586\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-cer.jpg\" alt=\"Blogs Ns Install Cer\" width=\"300\" height=\"370\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-cer.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-cer-243x300.jpg 243w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>Part II (Combining Certificates)<\/strong><\/p>\n<ol>\n<li>Netscaler: <strong>Traffic Management \/ SSL \/ SSL Certificates \/ CA Certificates<br \/><\/strong>Certificate File Name: <strong>root.ca.cer<\/strong> (intermediate.ca.cer)<br \/>Certificate-Key Pair Name: <strong>root.ca<\/strong> (intermidiate.ca)<\/li>\n<li>Click INSTALL\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1587\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-root-cer.jpg\" alt=\"Blogs Ns Install Root Cer\" width=\"300\" height=\"350\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-root-cer.jpg 300w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-install-root-cer-257x300.jpg 257w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<\/li>\n<li>Netscaler: <strong>Traffic Management \/ SSL \/ SSL Certificates \/ CA Certificates<br \/><\/strong>Select <strong>intermidiate.ca<\/strong><br \/>Click\u00a0<strong>Action<\/strong>\u00a0then select <strong>Link<\/strong><\/li>\n<li>If the correct Root CA certificate is available (installed), it will be selected! Click <strong>OK<\/strong>!<\/li>\n<li>Netscaler: <strong>Traffic Management \/ SSL \/ SSL Certificates \/ Server Certificates<\/strong><br \/>Select <strong>my.cert_2016<\/strong><br \/>Click\u00a0<strong>Action<\/strong>\u00a0then select <strong>Link<\/strong><\/li>\n<li>If the appropriate intermediate or root CA certificate is available (installed), it will be selected! Click <strong>OK<\/strong>!\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1588\" src=\"http:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-link-cer.jpg\" alt=\"Blogs Ns Link Cer\" width=\"350\" height=\"159\"  title=\"Netscaler and Certificates: The Easy Way\" srcset=\"https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-link-cer.jpg 350w, https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-link-cer-300x136.jpg 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/li>\n<\/ol>\n<p>That's it! Now the certificate can be bound to vServers such as gateways, load balancers, etc.<\/p>\n<p>\u00a0<\/p>\n<h3><span class=\"label label-success\">Helpful tips along the way<\/span><\/h3>\n<ul>\n<li>Use at least 5 characters for the password of PFX\/PEM files that contain the private key.<\/li>\n<li>Use a 2048-bit public key; no more, no less<\/li>\n<li>The certificate name should be meaningful and include the date, such as <strong>ctx.dom.com_November 2018<\/strong><br \/>where 11\/2018 is the certificate's expiration date<\/li>\n<li>Back up the certificates from the Netscaler using WinCP or Netscaler's own full backup<\/li>\n<li>Wildcard certificates <strong>*.dom.com<\/strong> make life easier in the long run<\/li>\n<li>Every company should have its own certificate authority and use SSL wherever possible!<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Viele meiner Kunden kommen ins Straucheln, wenn es um Zertifikate geht und ich meine nur die Grundlagen und nicht das [&hellip;]<\/p>\n","protected":false},"author":1755,"featured_media":1582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[37],"class_list":["post-1589","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-understanding-de","tag-netscaler"],"uagb_featured_image_src":{"full":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",360,360,false],"thumbnail":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-150x150.jpg",150,150,true],"medium":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs-300x300.jpg",300,300,true],"medium_large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",360,360,false],"large":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",360,360,false],"1536x1536":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",360,360,false],"2048x2048":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",360,360,false],"trp-custom-language-flag":["https:\/\/www.koetzingit.de\/wp-content\/uploads\/2016\/12\/blogs-ns-certs.jpg",12,12,false]},"uagb_author_info":{"display_name":"Thomas K\u00f6tzing","author_link":"https:\/\/www.koetzingit.de\/en\/author\/thomas-koetzing\/"},"uagb_comment_info":0,"uagb_excerpt":"Viele meiner Kunden kommen ins Straucheln, wenn es um Zertifikate geht und ich meine nur die Grundlagen und nicht das [&hellip;]","_links":{"self":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/users\/1755"}],"replies":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/comments?post=1589"}],"version-history":[{"count":1,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1589\/revisions"}],"predecessor-version":[{"id":1887,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/posts\/1589\/revisions\/1887"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media\/1582"}],"wp:attachment":[{"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/media?parent=1589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/categories?post=1589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koetzingit.de\/en\/wp-json\/wp\/v2\/tags?post=1589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}