PeculiarVentures / fortify-examples

Fortify enables web applications to use smart cards, local certificate stores and do certificate enrollment. This is a set of examples of how to use Fortify in your own applications.
MIT License
8 stars 5 forks source link

Generate CSR using ePass2003Auto token #13

Open MhmodTayel opened 1 year ago

MhmodTayel commented 1 year ago

I tried to generate a csr using the same token in windows 10 and it created successfully. but when i try to generate it in ubuntu it gives me a CryptoServerError: CKR_FUNCTION_NOT_SUPPORTED error This happens when i comes to add keys and request to storage. I'm using a libcastle.so.1.0.0 module with this card configurations

{ "atr": "3B9F958131FE9F006646530501001171DF000000000013", "name": "ePass2003", "driver": "709F7FAFA0BF267C91C8390200011101434E531131808E" }

{ "id": "709F7FAFA0BF267C91C8390200011101434E531131808E", "name": "FEDIS", "file": { "linux": "/usr/local/lib/libcastle.so.1.0.0", "windows": "%WINDIR/System32/opensc-pkcs11.dll" } } Screenshot from 2022-08-29 10-44-50