Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 328
 
3-73
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  General Management/Administration/Troubleshooting
Example - Creating a Self-signed Certificate
In the following example, a self-signed certificate is created.
mail3.example.com> certconfig
Choose the operation you want to perform:
- CERTIFICATE - Import, Create a request, Edit or Remove Certificate Profiles
- CERTAUTHORITY - Manage System and Customized Authorities
- CRL - Manage Certificate Revocation Lists
[]> certificate
List of Certificates
Name       Common Name           Issued By             Status         Remaining
---------  --------------------  --------------------  -------------  ---------
partner.c  brutus.neuronio.pt    brutus.neuronio.pt    Expired        -4930
days
Demo       Cisco Appliance Demo  Cisco Appliance Demo  Active         3467 days
Choose the operation you want to perform:
- IMPORT - Import a certificate from a local PKCS#12 file
- PASTE - Paste a certificate into the CLI
- NEW - Create a self-signed certificate and CSR
- EDIT - Update certificate or view the signing request
- EXPORT - Export a certificate
- DELETE - Remove a certificate
- PRINT - View certificates assigned to services
[]> new
1. Create a self-signed certificate and CSR
2. Create a self-signed SMIME certificate and CSR
[1]> 1
Enter a name for this certificate profile:
example.com
Enter Common Name:
example.com
Enter Organization:
Example
Enter Organizational Unit:
Org
Enter Locality or City:
San Francisoc
Enter State or Province:
CA
Enter Country (2 letter code):
US
Duration before expiration (in days):
[3650]>
1. 1024
2. 2048
Enter size of private key:
[2]>