cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

NAC RADIUS certificate generation with Windows CA

NAC RADIUS certificate generation with Windows CA

Ronald_Dvorak
Honored Contributor
I'd like to generate a new RADIUS certificate for my NAC using my Windows CA.
I can't find my notes from 2 years ago and stuck again - I had a hard time last time to get it right.
Anyone that could share a step by step guide.

So far I've done the following..
- ssh to the NAC
openssl genrsa 2048 | openssl pkcs8 -topk8 -out nacvienna.key
openssl req -new -reqexts server_auth -key nacvienna.key -out nacvienna.csr

On my windows CA open a browser to generate the user cerificate.
But I'm not sure on which format and how to export it.

Thanks,
Ron
3 REPLIES 3

Darin_Seiler
New Contributor
We just went through this process a month ago. Here is our documented steps:

Generate a server private key
Login as root to NAC using putty. Run the following two commands:

openssl genrsa 2048 | openssl pkcs8 -topk8 -out server.key
openssl req -new -reqexts server_auth -key server.key -out server.csr

Create a certificate signing request
Using WinSCP, login using root. Copy the server.csr and server.key file to your local computer from the NAC.
ā€¢ Open your browser and go to http:///certsrv/
ā€¢ Request a certificate
ā€¢ Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file.
ā€¢ Copy the contents of the server.csr into the saved request box, insure there are no extra blank lines.
ā€¢ Choose your NAC profile in the Certificate Template Box.
ā€¢ Click the Submit Button.
ā€¢ Download the entire certificate chain
-If downloading times out thru the web brownser (we opened a Microsoft support case because ours did) you can open the MMC on the Windows PKI server and add Certificates and do a certificate export there (if you need more detailed steps on this let me know)
Install certificate chain on the NAC
Log into the NAC Manager
ā€¢ In NAC Manager, select the All NAC Appliances folder in the left-panel tree. In the right-panel NAC Appliances tab, right-click on the desired appliance and select Manage Appliance Certificates. The Manage Appliance Certificates window opens.
ā€¢ Click the Update Certificate button for the RADIUS certificate you wish to replace. The Server Certificate window for that certificate will open.
ā€¢ In the Private Key section, provide a file containing the private key that corresponds to the certificate. It must be encoded as a PKCS #8 file. Enter the path name of the file or use the Browse button to navigate to the file. If the file is encrypted with a password, check the password box and supply the password in the field.
ā€¢ In the Certificate Files section, use the Add Files button to add one or more certificate files as provided by the certificate authority. This includes the server certificate, as well as any intermediate or chained certificates. You can multi-select files in the file chooser window, and the files can be added in any order.
ā€¢ Click OK. You will see a confirmation window listing your file information so that you can confirm that the information you have provided is correct. Click Yes to proceed with the certificate replacement. The private key and server certificate will be updated in the appliance configuration in the NetSight database.
ā€¢ Repeat the process for the AAA Trusted Certificate Authorities. Add the entire certificate chain and then remove the server certificate. There should be two CA certificates remaining.
ā€¢ Enforce the appliance to deploy the new private key and server certificate. When enforced, the server's secure ports will be offline for 15 seconds to reload the certificate:
ā€¢ You have replaced the RADIUS Server certificate, the RADIUS server on the appliance will be restarted to automatically to load the new certificate.

You may Verify the Contents of the Server Certificate

If it is important to verify that the new server certificate contains the data you supplied when creating the CSR. In particular, make sure the Common Name (CN) is the fully qualified host name of the NAC appliance.
Use OpenSSL to view the contents of the server certificate file server.crt using the following command:
openssl x509 -in server.crt -text -noout

Michael_Kirchne
Contributor
Hi Ron,

A little addition to Scott's post.

For your RADIUS Server you need a server certificate Template on your Windows CA with the Extended Key Usage "ServerAuth" (e.g. Web Server). I assume the CA is running as an Enterprise CA (Active Directory integrated). As format use Base64.

Web Enrollment Interface: https:///certsrv

Best Regards

Michael

Keene__Scott
Extreme Employee
Hi Ron,

Some of this information is in NetSight's Help, so here are two articles you can review, albeit it looks like you went through these steps already:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-To-Generate-A-Certificate-Signing-Requ...

https://gtacknowledge.extremenetworks.com/articles/How_To/How-To-Update-NAC-Internal-Communications-...

As for the Windows CA, your certificate enrollment looks to be web enrollment. You need to make sure the templates are listed there that will provide the EKU needed for RADIUS. What do you see there for cert templates? The required EKU's are listed in the Help and I believe in the articles above. These pertain to PEAP vs TLS for example.

Regards,
Scott Keene
GTM-P2G8KFN