Hi Tariq, You generate this key on your Ansible control system.
Thanks, Thomas On Tue, Jul 2, 2019 at 1:38 PM Tariq Iqbal <[email protected]> wrote: > Hello All, > > I am trying to follow this process outlined below for Ansible to > authenicate to APIC controller using signature based authentication. > > > https://docs.ansible.com/ansible/latest/scenario_guides/guide_aci.html#signature-based-authentication-using-certificates > > I need to determine where the open ssl command is ran. Is it ran on the > APIC controller or the Ansible controller? > > Generate certificate and private key > <https://docs.ansible.com/ansible/latest/scenario_guides/guide_aci.html#generate-certificate-and-private-key> > > Signature-based authentication requires a (self-signed) X.509 certificate > with private key, and a configuration step for your AAA user in ACI. To > generate a working X.509 certificate and private key, use the following > procedure: > > $ openssl req -new -newkey rsa:1024 -days 36500 -nodes -x509 -keyout > admin.key -out admin.crt -subj '/CN=Admin/O=Your Company/C=US' > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/150a025e-2846-46a7-9541-a1de3f7358c1%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/150a025e-2846-46a7-9541-a1de3f7358c1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2B8veMH7MnuYLz_1-16sagMxrPc1MJuHUFikRxoxHAbaUYqgug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
