ansible-collection-netscaleradc icon indicating copy to clipboard operation
ansible-collection-netscaleradc copied to clipboard

Could find parameter how to link server certificate to Root or Intermediate Certificate

Open vahric opened this issue 3 years ago • 3 comments

Hello, Trying to link my server certificate to installed intermediate certificate on appliance via ansible but couldn't find how ...

its looks like available in nitro api the https://developer-docs.citrix.com/projects/netscaler-nitro-api/en/12.0/configuration/ssl/sslcertlink/

Couldn't see also here add, update or something, only get and count .... Could you pls help how can i do it?

vahric avatar Sep 24 '21 16:09 vahric

One more , ansible or terraform , both have support same level integration and features ? Citrix advise use terraform instead of Ansible ? Which one is ahead ?

vahric avatar Sep 27 '21 11:09 vahric

Currently ADC terraform modules could be more than Ansible, but ADC Ansible modules has a generic resoruce that can be used to configure multiple endpoints. We aim to have parity for both integrations.

vadharm avatar Oct 02 '21 12:10 vadharm

Hello Mayur Vadhar , i saw that, with less coding i did everything with terraform. For example i linked CA Cert and Server Cert with it.

vahric avatar Oct 02 '21 12:10 vahric

@vahric . Pretty old thread but this is how am using ansible to link SSL certs

 - name: Link SSL Key
   delegate_to: localhost
   ignore_errors: true
   netscaler_nitro_request:
     nsip: "{{ nsip }}"
     nitro_user: "{{ nitro_user }}"
     nitro_pass: "{{ nitro_pass }}"
     nitro_protocol: https
     validate_certs: no
     operation: action
     action: link
     resource: sslcertkey
     attributes:
       certkey: 'abc.com'
       linkcertkeyname: 'test'

shriraja22 avatar Jul 12 '23 16:07 shriraja22

Thank you @shriraja22. Closing this issue for now. @vahric, please checkout our new netscaler.adc collection

sumanth-lingappa avatar Oct 17 '23 03:10 sumanth-lingappa