Closed lucdnb closed 3 months ago
Hi! This is unrelated to the APIC version so far, your Perl does not talk to the APIC at all due to the certificate issue. You might need to set the hostname that is expected for the certificate in device_auth.https_hostname
, or worst case you can also skip TLS verification with PERL_LWP_SSL_VERIFY_HOSTNAME=0
. There some more details in the https://github.com/rc9000/nd2-worker-plugin-aci/blob/master/README.md
Good luck!
Hi! Yes this issue is about my APIC https certificate. I have a problem: my certificate do not have "hostname" or "host" field...
Skipping the verification by running PERL_LWP_SSL_VERIFY_HOSTNAME=0
or export PERL_LWP_SSL_VERIFY_HOSTNAME=0
doesnt work. I keeping receiving the certificate error (500).
There is other way to solve this issue? Can I disable the ssl verification for this case?
Thanks.
I made a new version that can also take PERL_LWP_SSL_VERIFY_MODE=0
which should completely skip checking the certificate. Can you replace the lib/App/NetdiscoX/Util/ACI.pm
file and try like this:
PERL_LWP_SSL_VERIFY_HOSTNAME=0 PERL_LWP_SSL_VERIFY_MODE=0 netdisco-do arpnip -D -d apic.weyland-yutani.co.jp
Great! It works! But, the discover now need to be done by exactly this command. So, Netdisco are not able to done the correct discover, macsuck and arpnip on APIC devices, right?
To do so, one of my options is use crontab to run these commands some times for day.
Do you see other way to achieve it? Maybe some change in Netdisco.
You can put these variables either in the systemd service or docker-compose file you use to start netdisco.
Great! Thank you for all responses.
Hello dear developer! First of all, I have to say that this plugin is awesome, thanks for your contribuition!
I need to integrate Netdisco with my ACI environment that is in 5.2(8h) version. I've follow the entire procedure and after running the command to discover the APIC, I have the this certificate error message:
Can you help me about this issue? Maybe I need to make some changes regarding my APIC version?
Many thanks!