Adding custom certificate to Anyconnect on MX?

Just browsing

Adding custom certificate to Anyconnect on MX?



So i have configured Anyconnect on our MX250 and have been in contact with Meraki support who have enabled the custom certificate option for me.

However, i am not exactly sure how i can import them. They specify ".cer" file for the certificate and the CA. But the support wrote to me that i should import the certificate as p12, but nothing about the CA?.


I already have an existing wildcard certificate that i would like to use, so i assume i do not need to create a CSR in the meraki dashboard, as a CSR is already made when the certificate was purchased, right?

Exporting all the cert files from my cert provider i get 6 different files (3 of which are the certificate in various formats)

The key:

The certificate:
Just cert:



So my question is, what 2 files do i import? I tried various combinations, but each time i get some wacky html code error that is meaningless. I also tried converting the pfx or p12, but without any luck.

Kind of a big deal

You can use an online tool like:

To convert your p12 to a pem format (pem format is the same as cer).


This is a text file.  You can open up your CA file in notepad and then copy everything in it, then open up your converted certificate file in notepad and paste everything into the top.


Now you should have a file with a chain - the CA certificate at the top and your certificate at the bottom.


You should be able to upload this into the Meraki portal.  If it is unhappy about the extension, rename it to be .cer.

Hi Philip,

Thank you for you answer. However i do not think it solves my problem. I need 2 seperate .cer files. One should be the "Device certificate" the other the "Chain Certificate"

Basically all Cisco support could provide me with was that they are unsure and that i should try this:

But here i am asked to generate a CSR and purchase a new SSL basically. I wish to use my existing wildcard certificate for which i have already paid.

From my CA i am able to extract my SSL in the following formats:

Certificate in .CRT,PKCS#12/PFX, or PEM bundle.

CA Chain in .PEM

Private key in .KEY

I realize that i can convert these. But no matter what conversion i do, there is not luck.

I tried converting the certificate in CRT to CER using Windows, for the CA i transformed it to .DER, then opened it in Windows and exported as .CER so both certs were in .CER. However, i am now told that they do not much....

I am beginning to think there is no way of using my existing certificate and that i must purchase a new one.




Kind of a big deal

>But here i am asked to generate a CSR and purchase a new SSL basically. I wish to use my existing wildcard certificate for which i have already paid.


I missed this important bit.  You can not do this.  Meraki does not allow the transportation of private keys across their network.  Your existing wildcard certificate has a private key, so can't be used.


You must generate a CSR from the dashboard and get a certificate issued on that.


You are spot-on for the other bits though - you need to upload the device certificate and the CA certificate chain separately.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.