Fortinet white logo
Fortinet white logo

CLI Reference

execute vpn certificate local generate rsa

execute vpn certificate local generate rsa

Description: Generate a Certificate Signing Request.

# execute vpn certificate local generate rsa <cert_name> <key_size> <subject> <country name> <state> <city> <org> <Units> <email> <subject_alter_name> <URL> <challenge>

Sample command:

# execute vpn certificate local generate rsa test1 1024 cert US CA Sunnyvale Fortinet
102,203,303 test@fortinet.com null http://192.168.100.99/app/cert/scep/ fortinet 

Field

Description

Mandatory

Type

Value Range

cert_name

Specify the certificate name.

Yes

String

key_size

Specify the key size.

Yes

Number

1024, 1536, 2048, 4096

subject

Specify the subject(Host-IP/Domain Name/E-Mail).

Yes

String

country name

Specify the country name.

No

String

state

Specify the state name.

No

String

city

Specify the city name.

No

String

org

Specify the organization name.

No

String

Units

Specify the unit name. If there are multiple units, use ',' as a delimiter.

No

String

email

Specify the email address.

No

String

subject_alter_name

Specify the subject alternative name.

No

String

URL

Specify the URL.

Yes

String

challenge

Specify the challenge password.

No

String

execute vpn certificate local generate rsa

execute vpn certificate local generate rsa

Description: Generate a Certificate Signing Request.

# execute vpn certificate local generate rsa <cert_name> <key_size> <subject> <country name> <state> <city> <org> <Units> <email> <subject_alter_name> <URL> <challenge>

Sample command:

# execute vpn certificate local generate rsa test1 1024 cert US CA Sunnyvale Fortinet
102,203,303 test@fortinet.com null http://192.168.100.99/app/cert/scep/ fortinet 

Field

Description

Mandatory

Type

Value Range

cert_name

Specify the certificate name.

Yes

String

key_size

Specify the key size.

Yes

Number

1024, 1536, 2048, 4096

subject

Specify the subject(Host-IP/Domain Name/E-Mail).

Yes

String

country name

Specify the country name.

No

String

state

Specify the state name.

No

String

city

Specify the city name.

No

String

org

Specify the organization name.

No

String

Units

Specify the unit name. If there are multiple units, use ',' as a delimiter.

No

String

email

Specify the email address.

No

String

subject_alter_name

Specify the subject alternative name.

No

String

URL

Specify the URL.

Yes

String

challenge

Specify the challenge password.

No

String