System Security Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

PDF

System Security Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

TACACS+ authorization for OpenSSH certificate users

Want to summarize with AI?

Log in

Explains how a router validates an OpenSSH user certificate and uses centralized TACACS+ profiles to authorize router access.


TACACS+ authorization for OpenSSH certificate users is an access-control method that

  • validates the OpenSSH user certificate on the router

  • queries an external TACACS+ server for the corresponding user profile, and

  • authorizes router access by using the user group returned by the TACACS+ server.

Table 1. Feature History Table
Feature Name Release Information Feature Description
Certificate-based user authentication using TACACS+ server Release 7.5.4 This feature enables the router login for users in the remote TACACS+ server using the certificate-based authentication methods. Here, the router authenticates a user using the OpenSSH certificates and authorizes access according to the configurations available for that user in the external TACACS+ server. This feature provides an option to configure the users in a centralized TACACS+ server and use them across multiple routers in a network. Thus, it helps you overcome the hassles of configuring users in each router individually while authenticating users based on certificates.This feature introduces the aaa enable-cert-authentication command.

Authorization behavior

After certificate validation succeeds, the router uses the configured aaa authorization exec method list to query the TACACS+ server.

  • If the TACACS+ server finds a matching user profile, it authorizes the user and returns the associated user group to the router.

  • If the TACACS+ server does not find a matching profile, the router permits or denies access according to the remaining methods in the authorization list, such as the local database.

Centralized user management

Centralized TACACS+ profiles eliminate the need to configure the same certificate-user profile separately on every router in the network.

Restriction

Certificate-based access for users defined on an external TACACS+ server is supported only by the OpenSSH implementation.


Authorize OpenSSH certificate users through TACACS+

Authorize OpenSSH certificate users through a centralized TACACS+ server instead of defining every user separately on each router.

Before you begin

  • Enable OpenSSH certificate authentication on the router.

  • Configure the user profiles on the external TACACS+ server.

  • Configure the TACACS+ server or server group on the router.

  • Use the OpenSSH implementation. External TACACS+ certificate users are not supported by the legacy SSH implementation.

Procedure

  1. Enable OpenSSH certificate-user access and TACACS+ EXEC authorization.

    Example:

    Router# configure
    Router(config)# aaa enable-cert-authentication
    Router(config)# aaa authorization exec default group tacacs+ local
    Router(config)# commit

    The local fallback applies according to the configured authorization method list.

  2. Verify the running AAA configuration.

    Example:

    Router# show running-config aaa
    aaa enable-cert-authentication
    aaa authorization exec default group tacacs+ local

After the router validates an OpenSSH user certificate, it queries TACACS+ for the user profile and applies the returned user group. If no TACACS+ match exists, the remaining methods in the authorization list determine access.