.\"
.\" certmgr manual page.
.\" Copyright 2004-2005 Novell
+.\" Copyright 2010 Pablo Ruiz
.\" Author:
.\" Sebastien Pouliot <sebastien@ximian.com>
+.\" Pablo Ruiz Garcia <pruiz@netway.org>
.\"
.TH Mono "certmgr"
.SH NAME
List the certificates, CTL or CTL in the specified store.
.TP
.I "-add"
-Add a certificate, CRL or CTL to specified store.
+Add a certificate, CRL or CTL to specified store. If filename it's a pkcs12
+or pfx file, and it contains a private key, it will be imported to local key
+pair container.
.TP
.I "-del"
Remove a certificate, CRL or CTL from specified store. You must specify the
certificates in appropriate stores (i.e. server certificate in the
OtherPeople store, the root certificate in the Trust store, any other
intermediate certificates in the IntermediateCA store).
+.TP
+.I "-importKey"
+Allows importing a private key from a pkcs12 file into a local key pair
+store. (Usefull when you already have the key's corresponding certificate
+installed at the specific store.)
.SH OBJECT TYPES
.TP
.I "-v"
More details displayed on the console.
.TP
+.I "-p password"
+Use the specify password when accessing a pkcs12 file.
+.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
(subject key identifier).
.TP
The rest of the filename is the base64-encoded value (tbp or ski).
+.TP
+Private key data is stored under
+.I ~/.config/.mono/keypairs/
.SH EXAMPLES
.TP
To correct this insert the following XML snippet inside the <configuration>
element of your machine.config file.
- <mscorlib>\r
- <cryptographySettings>\r
- <cryptoNameMapping>\r
- <cryptoClasses>\r
- <cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />\r
- </cryptoClasses>\r
- <nameEntry name="MD2" class="monoMD2" />\r
- </cryptoNameMapping>\r
- <oidMap>\r
- <oidEntry OID="1.2.840.113549.2.2" name="MD2" />\r
- </oidMap>\r
- </cryptographySettings>\r
+ <mscorlib>
+ <cryptographySettings>
+ <cryptoNameMapping>
+ <cryptoClasses>
+ <cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
+ </cryptoClasses>
+ <nameEntry name="MD2" class="monoMD2" />
+ </cryptoNameMapping>
+ <oidMap>
+ <oidEntry OID="1.2.840.113549.2.2" name="MD2" />
+ </oidMap>
+ </cryptographySettings>
</mscorlib>
.SH AUTHOR
Written by Sebastien Pouliot
+
+Minor additions by Pablo Ruiz GarcĂa
.SH COPYRIGHT
Copyright (C) 2004-2005 Novell.
.SH MAILING LISTS