GithubHelp home page GithubHelp logo

pki's Introduction

pki

pkiservice-client/cli.bat usage:

Usage: <main class> [options]
  Options:
        --challenge     Challenge password (EJBCA entity password) (required
                        when enrolling to EJBCA)
  *     --cn            Subject CN to request
        --email         User email address to send confirmation emails to
                        (required when register)
  *     --mode          Mode (register/fetch/poll), poll only available for
                        OpenXPKI
        --password      One-time-password (required when poll/download from
                        OpenXPKI)
        --phone         User phone number to send PIN to (required when
                        register)
        --pkcs12-file   PKCS#12 output file
                        Default: cert.p12
  *     --provider      Provider (ejbca/openxpki)

authservice configuration:

  • openxpkiServiceUrl - URL of OpenXPKI endpoint
  • ejbcaRegistrationUrl - URL of EJBCA self-registration form
  • mailContext - mail service JNDI URL
  • datasourceContext - JDBC datasource JNDI (identity store)
  • smsapiLogin - SMSAPI account login
  • smsapiPassword - SMSAPI account password

pkiservice configuration:

  • ejbcaRegistrationUrl - URL of EJBCA self-ragistrtion form
  • ejbcaScepUrl - URL of EJBCA SCEP endpoint
  • openxpkiScepUrl - URL of OpenXPKI SCEP endpoint
  • datasourceContext - JDBC datasource JNDI (identity store)
  • caIdentifier - identifier of CA to work against
  • keySize - RSA key size

pkiservice-client configuration:

  • authorizationServiceUrl - authorization service WSDL URL
  • ejbcaServiceUrl - EJBCA service WSDL URL
  • openxpkiServiceUrl - OpenXPKI service WSDL URL

example:

<authServiceUrl>http://vps59351.ovh.net:8080/authservice/AuthorizationService?wsdl</authServiceUrl>
<ejbcaServiceUrl>http://vps59351.ovh.net:8080/pkiservice/EJBCAService?wsdl</ejbcaServiceUrl>
<openxpkiServiceUrl>http://vps59351.ovh.net:8080/pkiservice/OpenXPKIService?wsdl</openxpkiServiceUrl>
cli.bat --mode register --provider ejbca --cn test --email [email protected] --phone 501973096
#Approve self-registered user (Add End Entity)
cli.bat --mode fetch --provider ejbca --cn test --challenge twjPoVlB --pkcs12-file test.p12
openssl pkcs12 -in cert.p12 -info
cli.bat --mode register --provider openxpki --cn test --email [email protected] --phone 501973096
#Approve Certificate Signing Request
cli.bat --mode poll --provider openxpki --cn test --password twjPoVlB
cli.bat --mode fetch --provider openxpki --cn test --password twjPoVlB --pkcs12-file test.p12
openssl pkcs12 -in test.p12 -info

pki's People

Watchers

 avatar  avatar

Forkers

hareth12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.