gnutls_certificate_verification_profile_get_id - Linux


Overview

The gnutls_certificate_verification_profile_get_id command retrieves the ID of the specified certificate verification profile.

Syntax

gnutls_certificate_verification_profile_get_id PROFILE

Arguments:

  • PROFILE: The name of the certificate verification profile.

Options/Flags

None.

Examples

Get the ID of the default certificate verification profile:

gnutls_certificate_verification_profile_get_id default

Common Issues

If the specified profile does not exist, the command will return an error.

Integration

This command can be used in conjunction with other GnuTLS commands to manage certificate verification profiles. For example, to delete a profile, use the following command:

gnutls_certificate_verification_profile_delete $(gnutls_certificate_verification_profile_get_id PROFILE)

Related Commands

  • gnutls_certificate_verification_profile_add
  • gnutls_certificate_verification_profile_delete
  • gnutls_certificate_verification_profile_set_trust_anchor