How to Implement Certificates Issued from Microsoft Certificate Services?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How to Implement Certificates Issued from Microsoft Certificate Services?

L4 Transporter

Hi folks,

 

I am starting my journey to configure Global Protect VPN.  First I am trying to create/install a SSL certificate from my internal Microsoft CA.  I see articles for subordinate, but I do not have that.  Just a stand alone Microsoft CA.

 

This article indicates that I need to eventually export the certificate (after submitting csr to CA and downloading) in .pfx format to then convert to .pem format, before installing on the Palo Alto.

https://live.paloaltonetworks.com/t5/Learning-Articles/How-to-Create-Subordinate-CA-Certificates-wit...

 

I've generated the CSR on my PA 200 and submitted to my CA, but do not have the options to export the private key and save in .pfx format.  I've attached my process.  Anyone have suggestions?

 

pacsr.jpg

Pasted to Microsoft CA using Web Server template.

pacsr2.jpg

Download certificate chain.

pacsr3.jpg

Import .p7b to a sample Windows server so that I may then export immediately after as .pfx.

pacsr4.jpg

 

After import, export immediately to .pfx.  But not able, greyed out.

pacsr5.jpg

 

1 accepted solution

Accepted Solutions

I guess I will try a self signed certificate for now and try again later.  Thanks again for the responses.

View solution in original post

7 REPLIES 7

L4 Transporter

Hi OMatlock,

 

Why are you creating sub-CA? You can just create a simple CSR on the PA, export it, get it signed by your Microsft CA. Then, download that signed certificate in Base64 format. Import it on the firewall (use the same name as in the CSR). Create a SSL/TLS profile and use this certificate in it and select this SSL/TLS profile in the portal and gateway.

 

I am not sure about the steps you mentioned, they seem unnecessary. Sub-CA can be useful for decryption or you can create more certificates signed by that sub-CA (but why?).

 

Regards,

Anurag

================================================================
ACE 7.0, 8.0, PCNSE 7

heavily agree. the subordinate CA certificate is only of benefit if you are performing SSL decryption and using it as your forward trust/untrust cert, not for global protect.

 

all you need to do is generate the CSR on the PA, approve it on your CA, then import the resulting signed certificate into your PA (under the same name).

 

https://www.paloaltonetworks.com/documentation/70/pan-os/pan-os/certificate-management/obtain-a-cert...

 

but I also need to point out that it really appears that you didn't even follow the link you offered which could only add to the confusion. that link you used shows how to do _everything_ on the CA itself, there's no CSR being generated on the Palo Alto in that case, so handling the private and public keys is very different (as generating the CSR means the private key is already on the device, so you just need the cert from the CA).

--
CCNA Security, PCNSE7

Thanks for the feedback.  I am not using or configuring a Sub-CA.  The article I am referencing is based on a Sub-CA since I did not find an article that is just a stand alone CA.

 

Like you say, I am just generating the CSR, signing it, downloading the certificate chain (.p7b), then trying to convert it to .pfx, then .pem.

 

Is it not necessary to convert it to .pem format?  Maybe I am not doing something right.  I will review again today and see if I can get it working.

it needs to be in PEM format, but that's what the CA will give you as a response. as I mentioned, when you create the CSR on the Palo Alto itself, it already has the private key, so you don't need to obtain it and combine it, just import the signed PEM file from the CA. there is no conversion process necessary and you shouldn't even have the private key to create the pfx.

 

I gave you a link above that explains the process.

 

--
CCNA Security, PCNSE7

Thanks for the link and feedback.  It sounds so easy! 🙂

However, the link really skips over the details of the steps at the CA (Microsoft in my case).

 

I am following the steps above in my initial screenshots above.

I don't see a way yet to create/download the certificate from the MS CA as .pem format.

 

I know I must being doing something dumb wrong.  If any thoughts, I here.  Thanks again.

unfortunately I have no practical experience with MS CA myself, but the Base64 option should basically equal PEM format

 

you should get what amounts to a text file that resembles the original CSR, though it's the actual cert.

 

 

--
CCNA Security, PCNSE7

I guess I will try a self signed certificate for now and try again later.  Thanks again for the responses.

  • 1 accepted solution
  • 10151 Views
  • 7 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!