Menu

Accounting for timestamp

Help
2016-09-27
2016-10-05
  • Narges Ghelichi

    Narges Ghelichi - 2016-09-27

    Hi

    I have signserver for timestap service and active username password authentication.

    I want to add accounting peroperties but it`s not work.

    Accounter properties

    WORKERGENID1.Accounters=org.signserver.server.GlobalConfigSampleAccounter
    WORKERGENID1.GLOBALCONFIGSAMPLEACCOUNTER_USERS =ghelichi,password:account1; NRGS,password:account2
    WORKERGENID1.GLOBALCONFIGSAMPLEACCOUNTER_ACCOUNTS=account1:10; account2:5

    what i have to change in peroperties?

     
  • Markus Kilås

    Markus Kilås - 2016-09-29

    Hi Narges,

    According to the documentation [1] the worker property name is "ACCOUNTER" (without an "s" at the end).

    [1] https://www.signserver.org/doc/4.0.0/manual/commonconf.html#Accounter

    Cheers,
    Markus

    PrimeKey Solutions offers a commercial EJBCA & SignServer support subscription and training. Please see www.primekey.se or contact info@primekey.se for more information.
    https://www.primekey.se/Services/Support/
    https://www.primekey.se/Services/Training/

     

    Last edit: Markus Kilås 2016-09-29
    • Narges Ghelichi

      Narges Ghelichi - 2016-10-01

      thanks
      I change accounter but i use timestamp return 403 (forbidden) error

      WORKERGENID1.Accounter=org.signserver.server.GlobalConfigSampleAccounter
      WORKERGENID1.GLOBALCONFIGSAMPLEACCOUNTER_USERS =ghelichi,password:account1; NRGS,password:account2
      WORKERGENID1.GLOBALCONFIGSAMPLEACCOUNTER_ACCOUNTS=account1:1000; account2:5

      I define users too

      WORKERGENID1.AUTHTYPE = org.signserver.server.UsernamePasswordAuthorizer

      WORKERGENID1.USER.ghelichi=password
      WORKERGENID1.USER.NRGS=password

       
      • Markus Kilås

        Markus Kilås - 2016-10-05

        Your last post still says ".Accounter" while it should be ".ACCOUNTERS".

        Anyway, the server log probably would tell more about why you get denied access.

        Cheers,
        Markus

         

Log in to post a comment.