Installation

  • Install NodeConductor

  • Clone NodeConductor ValimoAuth repository

    git clone https://github.com/opennode/nodeconductor-valimo-auth.git
    
  • Install NodeConductor ValimoAuth into NodeConductor virtual environment

    cd /path/to/nodeconductor-valimo-auth/
    python setup.py install
    
  • Define settings Valimo parameters in NodeConductor settings:

    NODECONDUCTOR_VALIMO_AUTH = {
        'URL': '<Valimo URL, example: https://example.com>',
        'AP_ID': '<Application provider ID>',
        'AP_PWD': '<Application provider password>',
        'DNSName': '<Name of VSS server, blank by default>',
        'SignatureProfile': '<Signature profile to be used in the transaction processing>'
        'cert_path': '<path to file with SSL certificate>',
        'key_path': '<path to file with SSL key>',
        'message_prefix': '<prefix of message that will be send to user, default "Login code:">'
    }
    

    Example:

    NODECONCUTOR_AUTH_VALIMO.update({
        'URL': 'https://example.com/',
        'AP_ID': 'https://example/MobilePKI_AP',
        'AP_PWD': 'example_password',
        'DNSName': 'example',
        'SignatureProfile': 'https://example.com/MobilePKI',
        'cert_path': '/home/user/path/to/cert/example.cer',
        'key_path': '/home/user/path/to/key/example.key',
    })