Outlines the process of configuring and managing controller self-signed certificates to enable wireless AP join, covering use cases, prerequisites, setup steps, PKI server and trustpoint configuration, verification, and server management.
Use cases for controller self-signed certificate for wireless AP join
You need controller self-signed certificates in specific circumstances to enable wireless APs to join the controller successfully.
Controller self-signed certificate use cases
These situations require controller self-signed certificates:
-
The Cisco Catalyst 9800-CL platform is not equipped with manufacturer-installed SUDI certificates. Configure self-signed certificates on these controllers.
-
Some APs running earlier software and using a Manufacturer Installed Certificate (MIC) issued by a SHA1 Cisco Trusted CA cannot join controllers with SHA2 SUDI certificates. During the CAPWAP join process, these APs display a bad certificate error and fail the DTLS handshake.
Workaround: To support AP upgrades, configure a self-signed certificate for the controller as a workaround for the second use case. After updating all APs, delete the self-signed certificates. Then, revert to the SUDI certificate.
This workaround does not apply to Embedded Wireless Controllers running on Catalyst 9000 series switches. It is only valid for hardware appliance controllers such as Cisco Catalyst 9800-40, 9800-80, and 9800-L.
-
The command wireless management certificate ssc auth-token is required for ensuring resilient operation of Cisco Catalyst 9800-CL controllers. It is mandatory to configure an explicit authentication token on all 9800-CL devices within the network. Additionally, this command is required when migrating from an AireOS controller to a Cisco Catalyst 9800-CL controller to facilitate secure AP join, as the 9800-CL uses a self-signed certificate instead of a MIC used by AireOS controllers.
Prerequisites for controller self-signed certificate for wireless AP join
-
Ensure that the VLAN interface is up and that the IP address is reachable.
-
Ensure that the ip http server is enabled. For more information, see Enabling HTTP Server .
-
Set the clock calendar-valid command appropriately. For more information, see Configure clock calendar.
-
Check whether the PKI CA server is configured. If it is, delete the existing CA server configuration.
The show crypto pki server command output should not display anything.
Configure clock calendar (CLI)
Set the clock calendar to ensure accurate timekeeping on the device.
This configuration is necessary for time-sensitive operations and logging on the device.
Before you begin
Access to the device with appropriate privileges to enter global configuration mode.
Follow these steps to configure clock calendar:
Procedure
The clock calendar is now configured and operational on the device.
Enable HTTP server using CLI
Enable the HTTP server to allow web-based management of the device.
This configuration is applicable for devices that require HTTP access for management purposes.
Before you begin
Ensure you have administrative access to the device.
Procedure
The HTTP server is now enabled, allowing web-based management of the device.
Configure CA server (CLI)
Deploy a CA server to manage certificates for devices in the network.
This configuration is essential for environments that require secure communication through certificates.
Procedure
The CA server is now configured and ready to manage certificates for devices in the network.
Configure trustpoint (CLI)
Configure a trustpoint to enable secure communication with a Certificate Authority (CA).
This configuration is necessary for devices that require secure communications and certificate management.
Before you begin
Ensure you have access to the device and the necessary permissions to configure trustpoints.
Follow these steps to configure trustpoint using CLI commands:
Procedure
The trustpoint is now configured and ready for use with the CA server.
Authenticate and enroll the PKI trustpoint with CA server
Authenticate and enroll the PKI trustpoint to establish a secure connection with the Certification Authority (CA) server.
This procedure is used in environments where a PKI trustpoint needs to be authenticated and enrolled with a Certification Authority (CA) server for certificate management.
Before you begin
Ensure that the Certification Authority (CA) server is reachable and the trustpoint is properly configured.
Follow these steps to authenticate and enroll the PKI trustpoint with CA server:
Procedure
The PKI trustpoint is now authenticated and enrolled with the Certification Authority (CA) server, allowing for secure certificate management.
Tag wireless management trustpoint name
Tag a wireless management trustpoint name for identification and management purposes.
This configuration is used in environments where wireless management trustpoints need to be clearly identified for management and security.
Before you begin
Ensure you have the necessary privileges to enter global configuration mode.
Procedure
The wireless management trustpoint name is successfully tagged and can be used for management purposes.
Disable PKI server
Disable the PKI server to prevent it from issuing certificates.
This procedure is used in scenarios where the PKI server is no longer needed or must be temporarily disabled.
Procedure
The PKI server is now disabled and will not issue certificates.
Verify controller certificates for wireless AP join
To view the CA server details, use the command:
Device# show crypto pki server
Certificate Server WLC_CA:
Status: enabled
State: enabled
Server's configuration is locked (enter "shut" to unlock it)
Issuer name: O=Cisco Virtual Wireless LAN Controller, CN=CA-vWLC
CA cert fingerprint: 79A3DBD5 59A7E384 73ABD152 C133F4E2
Granting mode is: auto
Last certificate issued serial number (hex): 1
CA certificate expiration timer: 12:04:00 UTC Mar 8 2029
CRL NextUpdate timer: 18:04:00 UTC Mar 11 2019
Current primary storage dir: nvram:
Database Level: Minimum - no cert data written to storage
To view the trustpoint details, use this command:
Device# show crypto pki trustpoint ewlc-tp1 status
Trustpoint ewlc-tp1:
...
State:
Keys generated ............. Yes (General Purpose, exportable)
Issuing CA authenticated ....... Yes
Certificate request(s) ..... Yes
To view the wireless management trustpoint details, use this command:
Device# do show wireless management trustpoint
Trustpoint Name : ewlc-tp1
Certificate Info : Available
Certificate Type : SSC
Certificate Hash : 4a5d777c5b2071c17faef376febc08398702184e
Private key Info : Available
FIPS suitability : Not Applicable
To view the Hypertext Transfer Protocol (HTTP) server status, use this command:
Device# show ip http server status | include server status
HTTP server status: Enabled
HTTP secure server status: Enabled