Unable to push captive portal certificate from AMP to VC
From Instant version 4.1.0 release IAP supports interface with AMP for captive portal download. While managing the IAP using template we will run into an issue when we try to push the captive portal certificate from Airwave.
Step 1: From Apache error log we will see the following error message. We can confirm this by verifying the error log from Airwave CLI /var/log/httpd/error_log,
Popped out of all submodes and still couldn't parse '%server_cert_checksum%' at /usr/local/airwave/lib/perl/Mercury/CSO/DataDriven
Popped out of all submodes and still couldn't parse '%ca_cert_checksum%' at /usr/local/airwave/lib/perl/Mercury/CSO/DataDriven
Popped out of all submodes and still couldn't parse '%cert_psk%' at /usr/local/airwave/lib/perl/Mercury/CSO/DataDriven
The error is looking for the below lines to be added in the template:
Once updating the template we can initiate a configuration push from Airwave by saving the template.
In order to verify whether the configuration is successfully pushed from Airwave. We can enable qlog topic for swarm_debug and after decoding from the commands file we should see the configuration as shown below,
Fri Sep 16 23:04:32 2016 (1474081472.529729)
cmd => [
In VC CLI we can confirm if the certificate pushed successfully by executing the following command: