Controller Based WLANs

How do I replace the default Aruba SSL certificate?

by on ‎07-01-2014 04:55 PM

Product and Software: This article applies to all Aruba controllers and ArubaOS versions.

 

Customers are recommended to replace the default certificate that comes with the Aruba controller when it is shipped from the factory. Among the benefits are:

  •  Added security.
  •  You own the expiration date.
  •  You can present your own URL (instead of the securelogin.arubanetworks.com) if you are using captive portal.
  •  You may not see any longer some annoying popups asking you whether you want to really trust the certificate.

 

First you need to obtain a certificate. There are several ways of doing this:

  •  You can buy one.
  •  You can get one from your CA.
  •  You can self-generate one.

 

However, some tips:

  •  Certificate needs to be in PEM 509 format.
  •  cn name must the the captive portal URL
  •  If you plan to use it with 802.1x server certificate, you must also specify the Extended Key Usage to include "server authentication" 1.3.6.1.5.5.7.3.1.

 

To generate your own self-signed certificate, follow these steps:

  1. Generate your own CA key: openssl genrsa -des3 -out ca.key 1024
  2. Generate your root CA cert: openssl req -new -x509 -days 1825 -key ca.key -out ca.cer
  3. Generate the desired server private key: openssl genrsa -des3 -out server.key 1024
  4. Generate the desired server cert request: openssl req -new -key server.key -out server.csr
  5. Sign the server cert request by your CA: openssl x509 -req -days 365 -in server.csr -CA ca.cer -Cakey ca.key -set_serial 01 -out server.cer
  6. Make the server private key unsecure (unencrypted with no password): openssl rsa -in server.key -out server.key.unsecure
  7. Combine the server cert and its private key into a .pem file: cat server.key.unsecure server.cer > server.pem
  8. Upload the file: Maintenance->Captive Portal->Upload Certificate
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.