Configuring a secure syslog server and client

Prev Next

Use the following procedures to configure a secure syslog server and client.

Note

If the connection is broken, the client side will keep trying to re-establish the connection.

For best security, administrators must use SSH/HTTPS for remote administration sessions.

Prerequisites

  • Administrator access

To configure a secure syslog server:
  1. Enter the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Set the receiving protocol of the rsyslog server:

    hostname (config) # logging receive protocol tls port <port_number>
  3. Configure the receive syslog cipher list for SSL/TLS:

    hostname (config) # logging receive ssl cipher-list <cipher-list-name>

    where <cipher-list-name> can be fips (compliant with FIPS 140-3), fips-high-security (high security compliant with FIPS 140-3), cc-ndpp (compliant with CC-NDPP), cc-ndpp-high-security (high security compliant with CC-NDPP), fips-and-cc-ndpp (compliant with both FIPS 140-3 and CC-NDPP), or fips-and-cc-ndpp-high-security (high security compliant with both FIPS 140-3 and CC-NDPP).

  4. Require TLSv1 or higher for remote syslog:

    hostname (config) # logging receive ssl min-version tls1
  5. Save your changes:

    hostname (config) # write memory
To configure a secure syslog client:
  1. Enter the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Specify the port and the protocol to log on to the remote host:

    hostname (config) # logging <hostname> protocol tls port <port_number>

    where <hostname> is the hostname or IP address of a syslog server where you want to send log messages.

  3. Enable the remote syslog SSL/TLS certificate verification:

    hostname (config) # logging remote ssl cert-verify 
  4. Configure the remote syslog cipher list for SSL/TLS:

    hostname (config) # logging remote ssl cipher-list <cipher-list-name>

    where <cipher-list-name> can be fips (compliant with FIPS 140-3), fips-high-security (high security compliant with FIPS 140-3), cc-ndpp (compliant with CC-NDPP), cc-ndpp-high-security (high security compliant with CC-NDPP), fips-and-cc-ndpp (compliant with both FIPS 140-3 and CC-NDPP), or fips-and-cc-ndpp-high-security (high security compliant with both FIPS 140-3 and CC-NDPP).

  5. Save your changes:

    hostname (config) # write memory