SSL Certificate import in Ancor server

Modified on Sun, 16 Mar at 2:46 PM

Overview:
Importing SSL certificate to on-premise Ancor sever

 

Type of Deployment:
On-Premise/In-House

 

Find the steps to add an SSL certificate to Ancor:

1. Login to Ancor cli

$Ancor>

For eg:
ancor-cli

password:

2. Go to 'servicemgmt'
$Ancor: ServiceMgmt>

3. Installservercert with absolute file path of cert file:
$Ancor:ServiceMgmt>installservercert [absolute file path of cert file]

For eg:

Ancor:ServiceMgmt>installservercert /etc/apache2/ssl.crt/server.crt

4. Installserverkey with absolute file path of key:
$Ancor:ServiceMgmt>installserverkey [absolute file path of key]

For eg:

Ancor:ServiceMgmt>installserverkey /etc/apache2/ssl.key/server.key

5. Restart Ancor
$Ancor:ServiceMgmt>stop
$Ancor:ServiceMgmt>start

6. Manually restart apache2 if the password is set:
$service apache2 restart

Finally, check the new certificate by opening Ancor URL in the latest version of Firefox or Google chrome.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article