[Fedora-directory-users] pk12util error
Rich Megginson
rmeggins at redhat.com
Tue Jun 24 15:34:05 UTC 2008
ken oh wrote:
>
> I'm trying to get Windows Sync working on FDS 1.1. I am stuck at the
> step where you export the directory server's certificate to a file. I
> use this command in /etc/dirsrv/slapd-test2:
>
>
>
> pk12util -d . -P slapd-test2- -o cacert.p12 -n Server-Cert
>
You don't need to use the prefix (-P) argument any more with Fedora DS
1.1 - each key/cert db is in its own private directory. In addition,
using -o cacert.p12 implies that the file contains a CA certificate/key
pair - you probably want to name the file dscert.p12 to avoid any
ambiguity. So
pk12util -d . -o dscert.p12 -n Server-Cert
>
>
>
> And I got this error :
>
>
>
> pk12util-bin: find user certs from nickname failed: security library: bad
> database.
>
>
>
> I have used the FDS 1.1 script from here :
> http://directory.fedoraproject.org/wiki/Howto:SSL for setting up
> SSL in the directory server.
>
> Everything looks ok.
>
>
>
> When I use this command : certutil -L -d .
>
> I got this :
>
> Certificate Nickname Trust Attributes
> SSL,S/MIME,JAR/XPI
>
> CA certificate CTu,u,u
> server-cert u,u,u
> Server-Cert u,u,u
>
> What can I do to get the pk12util working ? Or is there another way to
> export the files ?
>
>
>
> Thanks
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
> Envoyé avec Yahoo! Mail
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html>.
> Une boite mail plus intelligente.
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080624/d63367ed/attachment.bin>
More information about the Fedora-directory-users
mailing list