<?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 Re: Ansible: Install ssl certificate on admin vserver in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169462#M3163</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;yes we would like to completely change the ceritificate via ansible.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 06:55:46 GMT</pubDate>
    <dc:creator>Boreus</dc:creator>
    <dc:date>2021-08-25T06:55:46Z</dc:date>
    <item>
      <title>Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169432#M3161</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we're trying to deploy and install a CA-signed ssl certificate on the admin vserver to get HTTPS when connecting to the cluster webgui.&lt;/P&gt;&lt;P&gt;With the&amp;nbsp;netapp.ontap.na_ontap_security_certificates module we have successfully deployed the certificate on the cluster, but it will not be used by the vserver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We somehow need to execute this command.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;security ssl modify -vserver [VSERVER] -serial [SERIAL] -ca [CA]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this possible without using the&amp;nbsp;&lt;A href="https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_ssh_command_module.html#ansible-collections-netapp-ontap-na-ontap-ssh-command-module" target="_blank" rel="noopener"&gt;&lt;SPAN class="std std-ref"&gt;na_ontap_ssh_command&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;module?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_security_certificates_module.html#ansible-collections-netapp-ontap-na-ontap-security-certificates-module" target="_blank" rel="noopener"&gt;https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_security_certificates_module.html#ansible-collections-netapp-ontap-na-ontap-security-certificates-module&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:15:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169432#M3161</guid>
      <dc:creator>Boreus</dc:creator>
      <dc:date>2021-08-24T10:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169460#M3162</link>
      <description>&lt;P&gt;This might be useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_install_a_Certificate_Authority_(CA)_signed_certificate_in_ONTAP_for_System_Manager_use" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_install_a_Certificate_Authority_(CA)_signed_certificate_in_ONTAP_for_System_Manager_use&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you trying to find a way to install it without getting into the CLI at all?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 02:21:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169460#M3162</guid>
      <dc:creator>DarrenJ</dc:creator>
      <dc:date>2021-08-25T02:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169462#M3163</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;yes we would like to completely change the ceritificate via ansible.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 06:55:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169462#M3163</guid>
      <dc:creator>Boreus</dc:creator>
      <dc:date>2021-08-25T06:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169463#M3164</link>
      <description>&lt;P&gt;Understood. You will likely need the&amp;nbsp;&lt;A href="https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_ssh_command_module.html#ansible-collections-netapp-ontap-na-ontap-ssh-command-module" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;SPAN class="std std-ref"&gt;na_ontap_ssh_command&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;module as you mentioned, as I'm not aware of any other way to install it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Others might have a better suggestion though.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 07:05:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/169463#M3164</guid>
      <dc:creator>DarrenJ</dc:creator>
      <dc:date>2021-08-25T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/170339#M3166</link>
      <description>&lt;P&gt;would like to see the code if possible.. i am using cli commands in ansible but useful to see how you coded the whole workflow using modules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 22:36:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/170339#M3166</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2021-09-27T22:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457370#M3295</link>
      <description>&lt;P&gt;Is there still no other way?&lt;/P&gt;&lt;P&gt;I like to renew all certificates with acme.&lt;/P&gt;&lt;P&gt;Therefor I have to get all certs which are used for ssl.&lt;/P&gt;&lt;P&gt;Here is missing an subset in the ontap_rest_info and a seperate module for ssl itself to modify the used certificates.&lt;/P&gt;&lt;P&gt;Will there come something, because na_ontap_ssh_comand does not come back with "security ssl show".&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 08:57:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457370#M3295</guid>
      <dc:creator>hilke_p</dc:creator>
      <dc:date>2024-12-13T08:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457371#M3296</link>
      <description>&lt;P&gt;Here the fatal error:&lt;BR /&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: EOFError&lt;BR /&gt;fatal: [stcl-1092]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible-tmp-1734079897.7925482-2334-30473195858796/AnsiballZ_na_ontap_ssh_command.py\", line 107, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/tmp/ansible-tmp-1734079897.7925482-2334-30473195858796/AnsiballZ_na_ontap_ssh_command.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/tmp/ansible-tmp-1734079897.7925482-2334-30473195858796/AnsiballZ_na_ontap_ssh_command.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.netapp.ontap.plugins.modules.na_ontap_ssh_command', init_globals=dict(_module_fqn='ansible_collections.netapp.ontap.plugins.modules.na_ontap_ssh_command', _modlib_path=modlib_path),\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_netapp.ontap.na_ontap_ssh_command_payload_elfmmg7l/ansible_netapp.ontap.na_ontap_ssh_command_payload.zip/ansible_collections/netapp/ontap/plugins/modules/na_ontap_ssh_command.py\", line 254, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_netapp.ontap.na_ontap_ssh_command_payload_elfmmg7l/ansible_netapp.ontap.na_ontap_ssh_command_payload.zip/ansible_collections/netapp/ontap/plugins/modules/na_ontap_ssh_command.py\", line 249, in main\n File \"/tmp/ansible_netapp.ontap.na_ontap_ssh_command_payload_elfmmg7l/ansible_netapp.ontap.na_ontap_ssh_command_payload.zip/ansible_collections/netapp/ontap/plugins/modules/na_ontap_ssh_command.py\", line 164, in __init__\n File \"/usr/local/lib/python3.9/site-packages/paramiko/client.py\", line 485, in connect\n self._auth(\n File \"/usr/local/lib/python3.9/site-packages/paramiko/client.py\", line 754, in _auth\n self._transport.auth_publickey(username, key)\n File \"/usr/local/lib/python3.9/site-packages/paramiko/transport.py\", line 1670, in auth_publickey\n self.auth_handler.auth_publickey(username, key, my_event)\n File \"/usr/local/lib/python3.9/site-packages/paramiko/auth_handler.py\", line 129, in auth_publickey\n self._request_auth()\n File \"/usr/local/lib/python3.9/site-packages/paramiko/auth_handler.py\", line 191, in _request_auth\n self.transport._send_message(m)\n File \"/usr/local/lib/python3.9/site-packages/paramiko/transport.py\", line 1929, in _send_message\n self.packetizer.send_message(data)\n File \"/usr/local/lib/python3.9/site-packages/paramiko/packet.py\", line 435, in send_message\n self.write_all(out)\n File \"/usr/local/lib/python3.9/site-packages/paramiko/packet.py\", line 368, in write_all\n raise EOFError()\nEOFError\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 08:58:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457371#M3296</guid>
      <dc:creator>hilke_p</dc:creator>
      <dc:date>2024-12-13T08:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible: Install ssl certificate on admin vserver</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457423#M3297</link>
      <description>&lt;P&gt;Please do not bother, problem was that automatically the ssh_key_forwarding tried to use keys, when there was a login configured with username and password.&lt;BR /&gt;after fixing that I could use the module na_ontap_ssh_comand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still, why is there no possibility with a native ansible module, nor an rest call, when it was possible in ontapi (with the powershell module) for example.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:58:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Ansible-Install-ssl-certificate-on-admin-vserver/m-p/457423#M3297</guid>
      <dc:creator>hilke_p</dc:creator>
      <dc:date>2024-12-17T09:58:31Z</dc:date>
    </item>
  </channel>
</rss>

