This article will describe how to fix an onboarding issue if you are running into the following Error on the Task


Note: Please ensure the secure-mode is disabled before onboarding.In a out-of-box unit secure-mode is disabled by default.  

To check the Secure mode status
#From CLI
 request system secure-mode status

To Disable Secure mode

#From CLI

request system secure-mode disable

If secure-mode is disabled and still the Director fails to retrieve the public/pvt keys from appliance proceed follow the below steps.  




Failed to retrieve the public/pvt keys from appliance <Branch>




Check if are you able to read the ckey file from the appliance and check the file size

[admin@versa-flexvnf: ~] $ ls -la /var/lib/vs/.ckey

-rwx------ 1 root versa 0 Nov  1 02:37 /var/lib/vs/.ckey

[admin@versa-flexvnf: ~] $ sudo cat /var/lib/vs/.ckey

[admin@versa-flexvnf: ~] $



If the .ckey file doesn't show any output, please delete the file, restart the Versa Services, and then re-check if the file exists. The steps are as follows:

1) [admin@versa-flexvnf: ~] $ sudo rm /var/lib/vs/.ckey
2) [admin@versa-flexvnf: ~] $ vsh restart
3) Once the services come up, please run the below:
4) [admin@versa-flexvnf: ~] $ sudo cat /var/lib/vs/.ckey

If it shows the .ckey, then re-onboard the appliance.


Note: Before re-onboarding the appliance, please make sure, you have deleted the device from Administrator > Appliances and also have redeployed the device from Workflow > Devices to clear the cache on the Director.


If you are still running into an issue after following the above steps, please reach out to Versa Support support@versa-networks.com