Difference between revisions of "Manual:System/Certificates"
|Line 9:||Line 9:|
Revision as of 10:43, 25 April 2012
RFC 5280, draft-nourse-scep-22
Certificate manager is used to collect all certificates inside router, to manage and create serlf-signed certificates and to control and set SCEP related configuration.
(needs editing) ca email issuer name subject
Read-only: alias decrypted-private-key dsa invalid-after invalid-before private-key rsa serial-number
Commands (needs editing) create-certificate-request decrypt import reset-certificate-cache
Self-Signed CA Management
Starting from RouterOS version 6 it is possible to manage and create self-signed CAs. It is not possible to import self signed CAs here. Implementation was made based on RFC 5280 and all certificates are X.509 v3.
All certificate fingerprints are SHA1. All private keys and CA export passphrase are stored encrypted with hardware ID. CRL renewal happens at every certificate revocation and after 24hours.
|expired (yes | no)||Whether CA is expired.|
|invalid-after (date)||The date after which CA wil be invalid.|
|invalid-before (date)||The date before which CA is invalid.|
|name (string)||Name of the certificate. Name can be edited.|
|self-signed (yes | no)||Whether CA is self signed|
|create-self-signed-ca ()||Creates self signed CA and generates key. Required extensions are export passphrase (which is used to protect private key when user tries to export it), validity period and IP address.|
|export (name or number of cert)||Exports certificate and private key which is encrypted with provided passphrase.|
|remove (name or number of cert)||Remove specified CA and all linked certificates.|
/certificate ca certificate
|ca (string)||Name of the CA certificate stored in Self-Signed CAs menu|
|expired (yes | no)||Whether certificate is expired|
|invalid-after (date)||Date after which certificate will be invalid|
|invalid-before (date)||Date before which certificate is invalid|
|revoked (date)||Date and time when certificate was last revoked|
|create-certificate ()||Generate certificate and key assigned from specified CA. User manually provides standard certificate parameters.|
|sign-certificate-request (ca, days-valid, file-name, key-bits)||Generates certificate and key, except that standard parameters are taken from certificate request. Command takes four parameters:
|revoke (name or number of cert)||Certificate can't be deleted. You can only revoke it. After revoke is executed certificate is added to CRL and CRL is renewed.|
|export (name or number of cert)||Export certificate and private key. Difference from CA export is that private key is protected with passphrase specified during the export process. Everyone ho has rights to export can access private keys.|
Simple Certificate Enrollment protocol (SCEP) was developed based on draft-nourse-scep-22.