Aruba AOS-CX setup
This process prepares an Aruba AOS-CX switch with SSL connectivity using a domain CA, and enabling the REST API.
Export CA Certificate
Section titled “Export CA Certificate”First, export the CA public certificate from certmgr:
-
Trusted Root Certification Authority\Certificates\<domain-ca>
→ All Tasks → Export
→ Base-64 encoded X.509 (.CER) -
Name it:
DOMAIN_CA.cerReset Key Configuration (Optional)
Section titled “Reset Key Configuration (Optional)”If needed:
no crypto pki certificate web-certno crypto pki ta-profile DOMAIN_CAConfigure Switch Identity
Section titled “Configure Switch Identity”Give the switch an FQDN:
conf thostname SwitchNamedomain-name ad.domain.comImport Trusted CA Certificate
Section titled “Import Trusted CA Certificate”crypto pki ta-profile DOMAIN_CA- Copy the contents of
DOMAIN_CA.cer - Run:
ta-certificate import terminal- Paste the certificate
- Press:
CTRL-D- Then press:
yVerify:
show crypto pki ta-profileCreate Certificate and CSR
Section titled “Create Certificate and CSR”crypto pki certificate web-certsubject common-name SwitchName.ad.domain.comkey-type rsa key-size 2048Generate the CSR:
enroll terminal- Copy the Base64-encoded CSR output
Submit CSR to CA
Section titled “Submit CSR to CA”Navigate to:
http://<domain-ca>/certsrv/certrqxt.asp-
Paste the CSR into the request box
-
In Additional Attributes, add:
san:dns=SwitchName.ad.domain.com&ipaddress=12.34.56.78(use the LAN IP)
- Select:
- Template →
SSL Certificate
- Template →
- Click:
- Submit >
After issuance:
- Select:
- Base 64 encoded
- Click:
- Download certificate
Prepare Certificate
Section titled “Prepare Certificate”- Open
certnew.cerin Notepad - Copy the encoded certificate text to clipboard
Install Signed Certificate
Section titled “Install Signed Certificate”crypto pki certificate web-certimport terminal ta-profile DOMAIN_CA- Paste the certificate when prompted
- Press
ENTER
Verify:
show crypto pki certificate web-certBind Certificate to HTTPS
Section titled “Bind Certificate to HTTPS”Return to regular configuration mode:
https-server vrf mgmtcrypto pki application https-server certificate web-certEnable RADIUS (Optional)
Section titled “Enable RADIUS (Optional)”To enable RADIUS authentication for HTTPS and REST access:
aaa authentication login https-server group radius localEnable REST API
Section titled “Enable REST API”Ensure REST API access is configured for Portweaver:
https-server rest access-mode read-writeSummary
Section titled “Summary”- CA certificate is imported as a
ta-profile - CSR is generated and signed by the domain CA
- Certificate is installed and bound to HTTPS
- HTTP is replaced with secure HTTPS access
This enables secure management and API access on Aruba AOS-CX switches.