Menu

Running a srv_add_pki_usr.sh script

2011-07-26
2013-07-08
  • Mikhail Kulinich

    Hello,

    I am trying to configure and launch a sample of CMPv2 server, but blocked at a step where it is needed to add PKI user.
    Could you please point me a right direction for my issue?

    I got the following errors while execution of the script:
    $ ./srv_add_pki_usr.sh
    ./../bin/cmpserver-cl -createuser -country DE -organization NSN -unit PG RDE 324440 -commonname Martin Peylo
    SUCCESS init
    SUCCESS add random
    ERROR create and open certstore  - in FILE: cmpserver-cl.c, LINE 608, status=-3
    ERROR open certstore  - in FILE: cmpserver-cl.c, LINE 613, status=-3
    INFO: Creating PKI User COUNTRY:"DE" ORG:"NSN" UNIT:"PG RDE 324987" CN:"Martin Peylo"
    SUCCESS creating certificate
    ERROR storing the PKI User  - in FILE: cmpserver-cl.c, LINE 316, status=-1
    SUCCESS destroying certificate
    ERROR close certstore  - in FILE: cmpserver-cl.c, LINE 617, status=-1
    SUCCESS shutting down cryptlib

    ODBC connection works fine, I just checked it with isql tool.
    I am using Ubuntu 10.04.3 as a workstation.

     
  • l!ttl3

    l!ttl3 - 2012-04-02

    Hi!

    A have the same porblem!
    A tried to debug cryptlib but a couldnt find the error…

     
  • Antti Karjalainen

    Hi,
    I'm having also the same problem. ODBC connection should be working, but CMP server is not able to create the certstore.

    Since the first message of the thread is nearly two years old, and there's no answer on this, I think maybe I should consider some other option for CA.

     

Log in to post a comment.