SCEP Certificate missing required extensions

eh_cve_cc
Conversationalist

SCEP Certificate missing required extensions

Hello,

 

I tried renewing our SCEP cert with our Windows certification authority and it will not upload due to error "SCEP Certificate missing required extensions". We dont use OPENSSL for our CA so the instructions and help article do not help... What are the required extensions??

10 Replies 10
PhilipDAth
Kind of a big deal
Kind of a big deal

What in Meraki land are you using SCEP for?

 

If you open the Certificate Template in Microsoft CA server - what are listed as the required extensions?

eh_cve_cc
Conversationalist

I would guess for Wi-Fi security and authentication, but I am not sure why we are using that. Since it would make the Meraki portal a subordinate CA, i believe it would use the subordinate CA template. That one I have set to only require a common name. Systems manager has a new requirement that an additional file is icreated when the cert is generated. I created a template that has these extra settings but still no luck with the cert.

 

Where `configuration_file.ext` contains the following extension value pairs:

basicConstraints = critical,CA:true,pathlen:0
keyUsage = critical,keyCertSign,digitalSignature
grgibbs
Conversationalist

I'm having the same issue trying to update my expired SCEP certificate. I've tried using the built-in SubCA template in ADCS as well as created new templates, but I cannot seem to get the Meraki Dashboard to accept anything signed by ADCS.

Here are the basic constraints and key usage settings in my SubCA template.
Screenshot 2024-01-25 at 11.17.31 am.pngScreenshot 2024-01-25 at 11.17.39 am.png

 

And the resulting signed certificate from the Meraki CSR:

Screenshot 2024-01-25 at 11.19.35 am.png

 

Screenshot 2024-01-25 at 11.19.54 am.png

Screenshot 2024-01-25 at 11.20.10 am.png

Has anyone been able to get this working with the newer requirements and ADCS?

grgibbs
Conversationalist

Okay, I was able to use the following workaround in my lab environment to update the SCEP certificate.

 

Using OpenSSL to sign the certificate is not ideal as that certificate would live outside of the control and knowledge of ADCS.

 

However, since this is just a lab environment, I was able to use the following option to extract the Root CA cert and key from my ADCS in p12 format.

https://support.citrix.com/article/CTX224970/how-to-export-internal-root-ca-with-private-key-from-mi...

 

I was then able to use the openssl commands in this document to extract the certificate and key in PEM format and then use OpenSSL to sign the Meraki SCEP cert.

https://www.ssl.com/how-to/export-certificates-private-key-from-pkcs12-file-with-openssl/

 

I doubt this option would be acceptable for a customer Production environment, but it works for my lab setup.

PhilipDAth
Kind of a big deal
Kind of a big deal

Well done.  Clever work around.

caug
New here

Sorry to resurrect this old thread, but is there any solution to this?  I'm having a similar issue signing the CSR with any type of template and uploading to meraki.

eh_cve_cc
Conversationalist

Did you try Grgibbs solution? We did not end up moving forward with it so I'm not sure if it works.

grgibbs
Conversationalist

I recently went through the process of signing the SCEP certificate for another separate lab environment and found Meraki still threw the same error when I signed it using the Intermediate CA template in ADCS.

I had to use the same workaround above with OpenSSL to get it to work.

PriscillaX
Meraki Employee
Meraki Employee

Hi @eh_cve_cc , thank you for raising this question!

 

Were you able to resolve this issue? If so, we would love to hear more about it. If not, we recommend submitting a case on our Dashboard under ? > Get Help & Cases so we can further investigate the renewal process for SCEP certificate under your SM network.

If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it.
eh_cve_cc
Conversationalist

No. We had given up or decided it was not worth the trouble.

If we revisit the issue, I will certainly do that. Thank you!

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