How to create eIDAS certificate with QWAC and QSealC profiles (PSD2 specific attributes) for testing

后端 未结 4 1295
你的背包
你的背包 2020-12-29 13:04

I want to create a eIDAS certificate with QWAC and QSealC profiles with PSD2 specific attributes as mentioned in the doc. Please help me, this is just for testing purposes.<

相关标签:
4条回答
  • 2020-12-29 13:21

    For me the simplest option was to use OpenSSL command line utility:

    openssl req -new -config qwac.conf -keyout qwac.key -out qwac.csr && openssl x509 -req -in qwac.csr -signkey qwac.key -out qwac.crt
    

    qwac.conf is openssl config where you have to set PSD2 specific fields as described here. Configs for QWAC and QSealC can be exactly the same, just need to run command twice.

    0 讨论(0)
  • 2020-12-29 13:23

    I would like to extend @guymoyo's answer with clearer instruction. Xs2a (https://github.com/adorsys/xs2a) repository provides a docker image for Xs2a certificate generator: https://hub.docker.com/r/adorsys/xs2a-certificate-generator

    So to generate your own TPP certificate all you need to do:

    1. Run docker image
    docker run -p 8092:8092 adorsys/xs2a-certificate-generator
    
    1. Open your browser and navigate to Swagger UI http://localhost:8092/swagger-ui.html
    2. Or directly to createCertUsingPOST Swagger operation
    3. Click on Try it out of createCertUsingPOST
    4. Generated certificate will appear in the endpoint response
    0 讨论(0)
  • 2020-12-29 13:24

    I had the same requirement months ago, and I wrote a eIDAS test certificate generator compliant psd2. I followed the ASN.1 Declaration giving by the "ts_119495v000003_for-public-review.pdf" document.

    here is the link to generate eIDAS test certificate generator

    And then here xs2a open srce we have write some certificate extractor, to extract psd2 attributes and roles from the generated certificate.

    0 讨论(0)
  • 2020-12-29 13:25

    I too created a certificate generator.

    Based on ts_119495v010302p.pdf

    https://github.com/payoneer/Psd2CertificateGenerator

    Used .Net Core 3.1

    Feel free to comment, suggest, report issues and create pull requests.

    0 讨论(0)
提交回复
热议问题