<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DFM/Data Fabric Manager/OnCommand Unified Mgr 5.2 uses two different sets of SSL certificates. in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Data-Fabric-Manager-OnCommand-Unified-Mgr-5-2-uses-two-different-sets-of-SSL/m-p/57082#M11862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DFM/Data Fabric Manager/OnCommand Unified Mgr 5.2 uses two different sets of SSL certificates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Sometimes you detect things, you didn't really want to know...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I'm wrong, but my current impression is:&lt;/P&gt;&lt;P&gt;"dfm ssl setup" and the other "dfm ssl" commands only have an impact on the httpd(= Apache) HTTPS configuration,&lt;/P&gt;&lt;P&gt;but not on the dfmserver (=NMC=NetApp Management Console) HTTPS login..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any receipe "How to exchange the dfmserver SSL certificate for port 8488" ?&lt;/P&gt;&lt;P&gt;Reason: It is signed by NetApp and will expire in 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am explicitely not talking about the httpd/Apache 8443 SSL certificates managed by "dfm ssl ..." and stored in DFM_BASE/conf/server.key.&lt;/P&gt;&lt;P&gt;The port 8443 Apache certificate is are already signed by my customer and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer installed a new DFM version 5.2 as a replacement of the old DFM.&lt;/P&gt;&lt;P&gt;It's running on Windows: E:\Program Files\NetApp\DataFabric Manager\DFM\conf\...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLD DFM&amp;gt; dfm backup create&lt;/P&gt;&lt;P&gt;NEW DFM&amp;gt; dfm backup restore BACKUP.ndb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result 1:&amp;nbsp; After new installation of DFM&amp;nbsp; and "dfm backup restore":&lt;/P&gt;&lt;P&gt;The SSL certificate of the Apache wasn't the customers certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Action 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knew something about the DFM_BASE/conf/keys/... directories&amp;nbsp; and copied his own server*.pem to DFM_BASE/conf/keys/...&amp;nbsp; ( !!! DON'T DO THIS !!! )&lt;/P&gt;&lt;P&gt;This ended up in some confusion ... and some enlightment after some debugging later &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action 2)&lt;/P&gt;&lt;P&gt;This sequence "Enabling secure communication between the DataFabric Manager server and Data ONTAP"&lt;/P&gt;&lt;P&gt;from the "Installation and Setup Guide For Use with Core Package 5.2 and Host Package 1.3 "&lt;/P&gt;&lt;P&gt;lists all necessary steps to use the customers certificate for HTTPS Webbrowser login to Apache "Operations Manager".&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://library.netapp.com/ecmdocs/ECMP1222478/html/GUID-90DB68AE-677D-40A7-A0D4-C25A5DD7A065.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMP1222478/html/GUID-90DB68AE-677D-40A7-A0D4-C25A5DD7A065.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You may skip this paragraph if you like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initialize the DataFabric Manager server private key and generate a self-signed certificate by running the following command and following the prompt:&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp; dfm ssl server setup -f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restart the HTTP service by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable HTTPS by running the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsEnabled=Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request for a signed certificate from a well-known CA by running the following command:&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp; dfm ssl server req -f -o server.csr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The server.csr file should be signed by a CA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import the signed certificate to the DataFabric Manager server by running the following command:&lt;/P&gt;&lt;P&gt;c&amp;nbsp;&amp;nbsp; dfm ssl server import server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restart the HTTP service by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter the certificate information for a CA setup by running the following command and following the prompt:&lt;/P&gt;&lt;P&gt;d&amp;nbsp;&amp;nbsp; dfm ssl self setup -f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The CA is ready to sign requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the DataFabric Manager server is running a private CA, perform the following steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Run the following command to allow certificate signing requests:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl self sign -f -o server.crt server.csr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import the signed certificate to the DataFabric Manager server by running the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl server import server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change the communication options by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsEnabled=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpEnabled=no&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsPort=8443&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set hostLoginProtocol=ssh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set hostAdminTransport=https&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set perfAdvisorTransport=httpsOk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify that secure communication is enabled with the host by running the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm host diag hostID_or_hostIP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should be able to connect to the OnCommand console by using the following URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://DataFabric_Manager_server_IP_or_hostname:httpsPort/" target="_blank"&gt;https://DataFabric_Manager_server_IP_or_hostname:httpsPort/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the debugging - on the test-DFM number 3&amp;nbsp; - I tracked which step generates which file in DFM_BASE\conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) generates or touches..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.024 openssl.rnd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.521 server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.704 server.key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(b) generates a "server.csr" file for a signing request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(c) stores the signed server.crt in&amp;nbsp; DFM_BASE/conf/..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.436 server.crt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(d) dfm ssl self setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.428 ca.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 916 ca.key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.024 openssl.rnd &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Result 2:&lt;/P&gt;&lt;P&gt;The Webbrowser usin HTTPS to Apache is using the customers SSL certificate,&lt;/P&gt;&lt;P&gt;but using HTTPS from the Java GUI "NetApp Management Console" (NMC) to Port 8488 of DFM was still broken. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;NMC: Port 8088 was fine also, but Port 8488 still was broken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd %DFM_BASE%\log&lt;/P&gt;&lt;P&gt; find "8488" *.log&lt;/P&gt;&lt;P&gt;---------- DFMSERVER.LOG&lt;/P&gt;&lt;P&gt;Jul 03 12:37:27 [dfmserver:ERROR]: [8524:0x1698]: Failed to create the encoded key-cert for port 8488&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Further Analysis/Solution::&lt;/P&gt;&lt;P&gt; We set up a third DFM and used "dfm ssl ... " to install our customers certificates there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result 3 (on test-DFM):&lt;/P&gt;&lt;P&gt;All four incoming ports (8080,8443,8088,8488) are usable, but ...&lt;/P&gt;&lt;P&gt;checking the SSL certificates on ports 8488 and 8443 by using a webbrowser delivers two different certificates:&lt;/P&gt;&lt;P&gt;8443 (OpsMgr= apache&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; SSL certificate by Customer&lt;/P&gt;&lt;P&gt;8488 (NMC&amp;nbsp;&amp;nbsp; = dfmserver)&amp;nbsp;&amp;nbsp;&amp;nbsp; SSL certificate by NetApp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;httpd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8080 (HTTP) + 8443 (HTTPS) and uses the SSL certificate&amp;nbsp;&amp;nbsp;&amp;nbsp; stored in DFM_BASE/conf/server.crt&lt;/P&gt;&lt;P&gt;dfmserver&amp;nbsp; 8088 (HTTP) + 8488 (HTTPS) and uses the SSL certificate(s) stored in DFM_BASE/conf/keys/...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DFM_BASE/conf/httpd.conf references to DFM_BASE/conf/server.crt&lt;/P&gt;&lt;P&gt;b.t.w. Every "dfm service start http" generates a new DFM_BASE/conf/httpd.conf by using the template DFM_BASE/conf/httpd.conf.tmpl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@HTTPS_BEGIN@@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Listen @@HTTPS_PORT@@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;VirtualHost _default_:@@HTTPS_PORT@@&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application/x-x509-ca-cert&amp;nbsp; .crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application/x-pkcs7-crl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .crl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSLCertificateFile&amp;nbsp; "@@INSTALLDIR@@/conf/server.crt"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; "dfm ssl setup" and the other "dfm ssl" commands only have impact on the httpd(= Apache) configuration,&lt;/P&gt;&lt;P&gt;but not on dfmserver (=NMC) HTTPS login..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This brings me back to the initial question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any receipe "How to exchange the NMC -&amp;gt; dfmserver SSL certificate for Port 8488" ?&lt;/P&gt;&lt;P&gt;conf/keys/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; certs/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private_keys/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; truststore/...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did we finally resolve our problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our fault was: Copy only the customers *.pem file in the DFM_BASE/conf/keys/...-tree. This action had broken the NetApp NMC certification files in DFM_BASE/conf/keys/...&lt;/P&gt;&lt;P&gt;and therefore port 8488 was "illegal"= "Failed to create the encoded key-cert for port 8488" message in DFMSERVER.LOG&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;We stopped the productive DFM, copied the DFM_BASE/conf/keys/...-tree from the new "Test-DFM" to the "productive DFM" and restartet the productive DFM.&lt;/P&gt;&lt;P&gt; =&amp;gt; dfmserver HTTPS = 8488 = NMC was using the original NetApp certificates (expiring in 2016) again. Hurray!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now we know, we are facing the 2016 certificate HTTPS expiration date ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't done any further inquiries on DFM_BASE/conf/keys/... content yet.&lt;/P&gt;&lt;P&gt;So any hints, references, ... are welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround:&lt;/P&gt;&lt;P&gt;To be prepared for the next DFM transfer, we created two zip-Archives named SSL_KEYS_APACHE_OPSMGR_8443.zip and SSL_KEYS_DFMSERVER_MGNT_CONSOLE_8488.zip&lt;/P&gt;&lt;P&gt;and stored them in one of the DFM auto backup directories (we chose "script plugin"). (s.a.&amp;nbsp; dfm backup diag )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSL_KEYS_APACHE_OPSMGR_8443.zip:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.crt&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.key&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.srl&lt;/P&gt;&lt;P&gt;COPY_THIS/openssl.rnd&lt;/P&gt;&lt;P&gt;COPY_THIS/server.crt&lt;/P&gt;&lt;P&gt;COPY_THIS/server.csr&lt;/P&gt;&lt;P&gt;COPY_THIS/server.key&lt;/P&gt;&lt;P&gt;COPY_THIS/DFMSERVERNAME.FQDN DATE.cer&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;COPY_THIS/CUSTOMER-ca-proc-06.cer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;COPY_THIS/CUSTOMER-CA-ROOT-04.cer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSL_KEYS_DFMSERVER_MGNT_CONSOLE_8488.zip&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;keys/certs/&lt;/P&gt;&lt;P&gt;keys/certs/dfmcert.pem&lt;/P&gt;&lt;P&gt;keys/dfmenc.keys&lt;/P&gt;&lt;P&gt;keys/private_keys/&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmcertkey.pem&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmkey.pem&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmvimcrtkey.pem&lt;/P&gt;&lt;P&gt;keys/truststore/&lt;/P&gt;&lt;P&gt;keys/truststore/dfmcacert.pem&lt;/P&gt;&lt;P&gt;keys/truststore/dfmvimca.pem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filename extensions are explained here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/X.509" target="_blank"&gt;http://en.wikipedia.org/wiki/X.509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pem – (Privacy-enhanced Electronic Mail) Base64 encoded DER certificate, enclosed between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .cer, .crt, .der – usually in binary DER form, but Base64-encoded certificates are common too (see .pem above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to or&amp;nbsp; May I use OpenSSL to set up my own "keys-tree" certificate for the 8488 dfmserver port?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dirk Schmiedt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; Some more background informations found in the net, but not tested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Migrating certificates, keys, and truststores manually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During DataFabric Manager server database backups, the directories containing certificates, keys, and truststores for both cloud service clients and host service clients are not backed up. If you want to restore database backups to a different DataFabric Manager server, you must manually migrate the certificates, keys, and truststore directories or the restore fails.&lt;/P&gt;&lt;P&gt;About this task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This procedure is not required when you back up and restore the database to the same DataFabric Manager server.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the DataFabric Manager server you want to migrate, back up the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the DataFabric Manager server you just backed up, copy the following three folders from the \DataFabric Manager install directory\conf\keys\ directory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; certs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; truststore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restore the database to the new DataFabric Manager server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the three folders from the original DataFabric Manager server to the same directory on the destination DataFabric Manager server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Perform one of the following actions, depending on which type of clients you are migrating:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you migrate clients in a cloud infrastructure, after the migration, generate a new DataFabric Manager server certificate on the destination DataFabric Manager server by entering dfm ssl service setup, and then load the new certificate by entering dfm ssl service reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: If you do not generate a new certificate, the new DataFabric Manager server will load the certificate that was migrated from the original DataFabric Manager server causing DataFabric Manager server hostname validation to fail on cloud service clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are migrating host service clients, after the migration, unregister the host service and then register the new host service from the Host Services tab in the OnCommand console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parent topic: Certificate-based authentication&lt;/P&gt;&lt;P&gt;Related tasks&lt;/P&gt;&lt;P&gt;Verifying that a host service is registered with the DataFabric Manager server (7-Mode environments only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating self-signed certificates in the DataFabric Manager server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can generate self-signed certificate from the command-line interface (CLI) of the DataFabric Manager server. You can set up the DataFabric Manager server as a Certificate Authority (CA), and generate self-signed certificates.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log into the DataFabric Manager server as the DataFabric Manager server administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From the command-line interface, enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl server setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter the following information when prompted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key Size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Duration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State or Province&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Locality Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Organization Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Organizational Unit Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Common Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email Address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The DataFabric Manager server SSL server is now initialized with a self-signed certificate and the private key, server.key file is placed in the following DataFabric Manager server directory: c:\Program Files\NetApp\DataFabric Manager\DFM\conf\.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:33:16 GMT</pubDate>
    <dc:creator>dirkschmiedt</dc:creator>
    <dc:date>2025-06-05T05:33:16Z</dc:date>
    <item>
      <title>DFM/Data Fabric Manager/OnCommand Unified Mgr 5.2 uses two different sets of SSL certificates.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Data-Fabric-Manager-OnCommand-Unified-Mgr-5-2-uses-two-different-sets-of-SSL/m-p/57082#M11862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DFM/Data Fabric Manager/OnCommand Unified Mgr 5.2 uses two different sets of SSL certificates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Sometimes you detect things, you didn't really want to know...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I'm wrong, but my current impression is:&lt;/P&gt;&lt;P&gt;"dfm ssl setup" and the other "dfm ssl" commands only have an impact on the httpd(= Apache) HTTPS configuration,&lt;/P&gt;&lt;P&gt;but not on the dfmserver (=NMC=NetApp Management Console) HTTPS login..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any receipe "How to exchange the dfmserver SSL certificate for port 8488" ?&lt;/P&gt;&lt;P&gt;Reason: It is signed by NetApp and will expire in 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am explicitely not talking about the httpd/Apache 8443 SSL certificates managed by "dfm ssl ..." and stored in DFM_BASE/conf/server.key.&lt;/P&gt;&lt;P&gt;The port 8443 Apache certificate is are already signed by my customer and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer installed a new DFM version 5.2 as a replacement of the old DFM.&lt;/P&gt;&lt;P&gt;It's running on Windows: E:\Program Files\NetApp\DataFabric Manager\DFM\conf\...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OLD DFM&amp;gt; dfm backup create&lt;/P&gt;&lt;P&gt;NEW DFM&amp;gt; dfm backup restore BACKUP.ndb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result 1:&amp;nbsp; After new installation of DFM&amp;nbsp; and "dfm backup restore":&lt;/P&gt;&lt;P&gt;The SSL certificate of the Apache wasn't the customers certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Action 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knew something about the DFM_BASE/conf/keys/... directories&amp;nbsp; and copied his own server*.pem to DFM_BASE/conf/keys/...&amp;nbsp; ( !!! DON'T DO THIS !!! )&lt;/P&gt;&lt;P&gt;This ended up in some confusion ... and some enlightment after some debugging later &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action 2)&lt;/P&gt;&lt;P&gt;This sequence "Enabling secure communication between the DataFabric Manager server and Data ONTAP"&lt;/P&gt;&lt;P&gt;from the "Installation and Setup Guide For Use with Core Package 5.2 and Host Package 1.3 "&lt;/P&gt;&lt;P&gt;lists all necessary steps to use the customers certificate for HTTPS Webbrowser login to Apache "Operations Manager".&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://library.netapp.com/ecmdocs/ECMP1222478/html/GUID-90DB68AE-677D-40A7-A0D4-C25A5DD7A065.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMP1222478/html/GUID-90DB68AE-677D-40A7-A0D4-C25A5DD7A065.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You may skip this paragraph if you like)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initialize the DataFabric Manager server private key and generate a self-signed certificate by running the following command and following the prompt:&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp; dfm ssl server setup -f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restart the HTTP service by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enable HTTPS by running the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsEnabled=Yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request for a signed certificate from a well-known CA by running the following command:&lt;/P&gt;&lt;P&gt;b&amp;nbsp;&amp;nbsp; dfm ssl server req -f -o server.csr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The server.csr file should be signed by a CA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import the signed certificate to the DataFabric Manager server by running the following command:&lt;/P&gt;&lt;P&gt;c&amp;nbsp;&amp;nbsp; dfm ssl server import server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restart the HTTP service by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter the certificate information for a CA setup by running the following command and following the prompt:&lt;/P&gt;&lt;P&gt;d&amp;nbsp;&amp;nbsp; dfm ssl self setup -f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The CA is ready to sign requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the DataFabric Manager server is running a private CA, perform the following steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Run the following command to allow certificate signing requests:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl self sign -f -o server.crt server.csr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import the signed certificate to the DataFabric Manager server by running the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl server import server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change the communication options by running the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service stop http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsEnabled=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpEnabled=no&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set httpsPort=8443&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set hostLoginProtocol=ssh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set hostAdminTransport=https&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm option set perfAdvisorTransport=httpsOk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm service start http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify that secure communication is enabled with the host by running the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm host diag hostID_or_hostIP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You should be able to connect to the OnCommand console by using the following URL: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://DataFabric_Manager_server_IP_or_hostname:httpsPort/" target="_blank"&gt;https://DataFabric_Manager_server_IP_or_hostname:httpsPort/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the debugging - on the test-DFM number 3&amp;nbsp; - I tracked which step generates which file in DFM_BASE\conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) generates or touches..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.024 openssl.rnd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.521 server.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.704 server.key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(b) generates a "server.csr" file for a signing request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(c) stores the signed server.crt in&amp;nbsp; DFM_BASE/conf/..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 10:28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.436 server.crt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(d) dfm ssl self setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.428 ca.crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 916 ca.key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04.07.2014&amp;nbsp; 11:19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.024 openssl.rnd &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Result 2:&lt;/P&gt;&lt;P&gt;The Webbrowser usin HTTPS to Apache is using the customers SSL certificate,&lt;/P&gt;&lt;P&gt;but using HTTPS from the Java GUI "NetApp Management Console" (NMC) to Port 8488 of DFM was still broken. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;NMC: Port 8088 was fine also, but Port 8488 still was broken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd %DFM_BASE%\log&lt;/P&gt;&lt;P&gt; find "8488" *.log&lt;/P&gt;&lt;P&gt;---------- DFMSERVER.LOG&lt;/P&gt;&lt;P&gt;Jul 03 12:37:27 [dfmserver:ERROR]: [8524:0x1698]: Failed to create the encoded key-cert for port 8488&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Further Analysis/Solution::&lt;/P&gt;&lt;P&gt; We set up a third DFM and used "dfm ssl ... " to install our customers certificates there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result 3 (on test-DFM):&lt;/P&gt;&lt;P&gt;All four incoming ports (8080,8443,8088,8488) are usable, but ...&lt;/P&gt;&lt;P&gt;checking the SSL certificates on ports 8488 and 8443 by using a webbrowser delivers two different certificates:&lt;/P&gt;&lt;P&gt;8443 (OpsMgr= apache&amp;nbsp;&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp; SSL certificate by Customer&lt;/P&gt;&lt;P&gt;8488 (NMC&amp;nbsp;&amp;nbsp; = dfmserver)&amp;nbsp;&amp;nbsp;&amp;nbsp; SSL certificate by NetApp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;/P&gt;&lt;P&gt;httpd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8080 (HTTP) + 8443 (HTTPS) and uses the SSL certificate&amp;nbsp;&amp;nbsp;&amp;nbsp; stored in DFM_BASE/conf/server.crt&lt;/P&gt;&lt;P&gt;dfmserver&amp;nbsp; 8088 (HTTP) + 8488 (HTTPS) and uses the SSL certificate(s) stored in DFM_BASE/conf/keys/...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DFM_BASE/conf/httpd.conf references to DFM_BASE/conf/server.crt&lt;/P&gt;&lt;P&gt;b.t.w. Every "dfm service start http" generates a new DFM_BASE/conf/httpd.conf by using the template DFM_BASE/conf/httpd.conf.tmpl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@HTTPS_BEGIN@@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Listen @@HTTPS_PORT@@&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;VirtualHost _default_:@@HTTPS_PORT@@&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application/x-x509-ca-cert&amp;nbsp; .crt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AddType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; application/x-pkcs7-crl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .crl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSLCertificateFile&amp;nbsp; "@@INSTALLDIR@@/conf/server.crt"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; "dfm ssl setup" and the other "dfm ssl" commands only have impact on the httpd(= Apache) configuration,&lt;/P&gt;&lt;P&gt;but not on dfmserver (=NMC) HTTPS login..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This brings me back to the initial question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any receipe "How to exchange the NMC -&amp;gt; dfmserver SSL certificate for Port 8488" ?&lt;/P&gt;&lt;P&gt;conf/keys/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; certs/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private_keys/...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; truststore/...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did we finally resolve our problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our fault was: Copy only the customers *.pem file in the DFM_BASE/conf/keys/...-tree. This action had broken the NetApp NMC certification files in DFM_BASE/conf/keys/...&lt;/P&gt;&lt;P&gt;and therefore port 8488 was "illegal"= "Failed to create the encoded key-cert for port 8488" message in DFMSERVER.LOG&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;We stopped the productive DFM, copied the DFM_BASE/conf/keys/...-tree from the new "Test-DFM" to the "productive DFM" and restartet the productive DFM.&lt;/P&gt;&lt;P&gt; =&amp;gt; dfmserver HTTPS = 8488 = NMC was using the original NetApp certificates (expiring in 2016) again. Hurray!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now we know, we are facing the 2016 certificate HTTPS expiration date ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't done any further inquiries on DFM_BASE/conf/keys/... content yet.&lt;/P&gt;&lt;P&gt;So any hints, references, ... are welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround:&lt;/P&gt;&lt;P&gt;To be prepared for the next DFM transfer, we created two zip-Archives named SSL_KEYS_APACHE_OPSMGR_8443.zip and SSL_KEYS_DFMSERVER_MGNT_CONSOLE_8488.zip&lt;/P&gt;&lt;P&gt;and stored them in one of the DFM auto backup directories (we chose "script plugin"). (s.a.&amp;nbsp; dfm backup diag )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSL_KEYS_APACHE_OPSMGR_8443.zip:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.crt&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.key&lt;/P&gt;&lt;P&gt;COPY_THIS/ca.srl&lt;/P&gt;&lt;P&gt;COPY_THIS/openssl.rnd&lt;/P&gt;&lt;P&gt;COPY_THIS/server.crt&lt;/P&gt;&lt;P&gt;COPY_THIS/server.csr&lt;/P&gt;&lt;P&gt;COPY_THIS/server.key&lt;/P&gt;&lt;P&gt;COPY_THIS/DFMSERVERNAME.FQDN DATE.cer&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;COPY_THIS/CUSTOMER-ca-proc-06.cer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;COPY_THIS/CUSTOMER-CA-ROOT-04.cer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anonimized name for customers certificate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSL_KEYS_DFMSERVER_MGNT_CONSOLE_8488.zip&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;keys/certs/&lt;/P&gt;&lt;P&gt;keys/certs/dfmcert.pem&lt;/P&gt;&lt;P&gt;keys/dfmenc.keys&lt;/P&gt;&lt;P&gt;keys/private_keys/&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmcertkey.pem&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmkey.pem&lt;/P&gt;&lt;P&gt;keys/private_keys/dfmvimcrtkey.pem&lt;/P&gt;&lt;P&gt;keys/truststore/&lt;/P&gt;&lt;P&gt;keys/truststore/dfmcacert.pem&lt;/P&gt;&lt;P&gt;keys/truststore/dfmvimca.pem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filename extensions are explained here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/X.509" target="_blank"&gt;http://en.wikipedia.org/wiki/X.509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pem – (Privacy-enhanced Electronic Mail) Base64 encoded DER certificate, enclosed between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .cer, .crt, .der – usually in binary DER form, but Base64-encoded certificates are common too (see .pem above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to or&amp;nbsp; May I use OpenSSL to set up my own "keys-tree" certificate for the 8488 dfmserver port?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dirk Schmiedt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; Some more background informations found in the net, but not tested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Migrating certificates, keys, and truststores manually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During DataFabric Manager server database backups, the directories containing certificates, keys, and truststores for both cloud service clients and host service clients are not backed up. If you want to restore database backups to a different DataFabric Manager server, you must manually migrate the certificates, keys, and truststore directories or the restore fails.&lt;/P&gt;&lt;P&gt;About this task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This procedure is not required when you back up and restore the database to the same DataFabric Manager server.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the DataFabric Manager server you want to migrate, back up the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the DataFabric Manager server you just backed up, copy the following three folders from the \DataFabric Manager install directory\conf\keys\ directory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; certs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private_keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; truststore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restore the database to the new DataFabric Manager server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy the three folders from the original DataFabric Manager server to the same directory on the destination DataFabric Manager server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Perform one of the following actions, depending on which type of clients you are migrating:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you migrate clients in a cloud infrastructure, after the migration, generate a new DataFabric Manager server certificate on the destination DataFabric Manager server by entering dfm ssl service setup, and then load the new certificate by entering dfm ssl service reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: If you do not generate a new certificate, the new DataFabric Manager server will load the certificate that was migrated from the original DataFabric Manager server causing DataFabric Manager server hostname validation to fail on cloud service clients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are migrating host service clients, after the migration, unregister the host service and then register the new host service from the Host Services tab in the OnCommand console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parent topic: Certificate-based authentication&lt;/P&gt;&lt;P&gt;Related tasks&lt;/P&gt;&lt;P&gt;Verifying that a host service is registered with the DataFabric Manager server (7-Mode environments only)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating self-signed certificates in the DataFabric Manager server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can generate self-signed certificate from the command-line interface (CLI) of the DataFabric Manager server. You can set up the DataFabric Manager server as a Certificate Authority (CA), and generate self-signed certificates.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log into the DataFabric Manager server as the DataFabric Manager server administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From the command-line interface, enter the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm ssl server setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Enter the following information when prompted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key Size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Duration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State or Province&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Locality Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Organization Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Organizational Unit Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Common Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Email Address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The DataFabric Manager server SSL server is now initialized with a self-signed certificate and the private key, server.key file is placed in the following DataFabric Manager server directory: c:\Program Files\NetApp\DataFabric Manager\DFM\conf\.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:33:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Data-Fabric-Manager-OnCommand-Unified-Mgr-5-2-uses-two-different-sets-of-SSL/m-p/57082#M11862</guid>
      <dc:creator>dirkschmiedt</dc:creator>
      <dc:date>2025-06-05T05:33:16Z</dc:date>
    </item>
  </channel>
</rss>

