Skip to main content
Jackie_T
Staff & Editor
Staff & Editor
November 6, 2025

Technical Tip: Understanding Certificate Creation with Underscores and Hyphens in FortiAuthenticator

  • November 6, 2025
  • 0 replies
  • 142 views
Description

This article describes the behavior of FortiAuthenticator when creating certificates with underscores and hyphens.

It explains why FortiAuthenticator allows underscores in certificate names despite RFC 1035 prohibiting them, and how to create certificates with hyphens.

Scope FortiAuthenticator
Solution

To create a certificate with a hyphen in FortiAuthenticator, follow these steps:

  1. Go to -> Certificate Management -> Certificates.
  2. Select Generate to create a new certificate.
  3. In the Subject field, enter the desired certificate name with a hyphen.
  4. Complete the remaining certificate settings as needed.
  5. Select OK to save the certificate.

 

While RFC 1035 prohibits the use of underscores in domain names, FortiAuthenticator allows them in certificate names (CN) because the subject of a certificate is not necessarily a domain name (FQDN); it can be a hostname, serial number, etc.

 

Hence, FortiAuthenticator allows underscores in the certificate CN, which does not contradict RFC 1035.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT