I am working with Net.Pkcs11Interop.HighLevelAPI.Pkcs11 to get my epass2003 smart card token details. My code is working fine on localhost; after running I am getting all token information, but whenever I publish my code on my demo server and run the website on my machine my code does not detect my smartcard USB token.
PKCS#11 working on localhost, but it is not working on a live web server (client machine)
1k Views Asked by Prabhakar At
1
There are 1 best solutions below
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in ASP.NET
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- IIS Rewrite Module exclude bots but allow GoogleBot
- Angular 16 sending null values to API
- I am the domain admin, newbie, how do I connect youtube.com on my domain?
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- ASP.NET Identity, Losing Ability to Login until Application Pool Recycles
- How to unprotect ASP.NET FormAuthentication cookie
- How does it work using ASP.NET FormAuthentication
- What is the purpose of a completely standalone 'this'?
- Is there a way to read .csproj PropertyGroup variable in c#
- MSBuild trying to copy different dll with similar name into project sporadically
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Azure AD guest account in web app authentication user claims data
- Receiving 400 bad request on post when customer auth handler is used
Related Questions in SMARTCARD
- Authentication with SmartCard sending a SOAPUI request
- How can I read these P1 and P2 parameters in smartcard reference data?
- Sign a pdf document using signature from USB token in python
- Is it possible Java Card supports NIO,like event-driven, reactor
- How to encode or write information into MIFARE DESFIRe ev2 that would act as id card with microtransaction functionality
- Issue with Secure Messaging in Android HCE App - Invalid Class (SW 6E00) during AID Selection
- Secure Channel Protocol 01 and 03 in Win32API DLL
- Change key of Desfire Card application
- STORE DATA APDU for PPSE info
- How to properly parametrize a SECP256K1 curve using the SE051 IoT SDK?
- C# http request mtls external private key
- Can't install .cap file on NXP P71D321
- nfcpy reading public information from contactless credit card with APDU commands
- How To Modify PKCS11 Object Value Attribute
- Yubikey 5: is it similar enough to smart cards for testing authentication?
Related Questions in PKCS#11
- RemoveCertificate in System.Security.Cryptography.Pkcs.SignedCms - is real (NetFramwork 4.7)?
- Compute sign using secure token hit Unknown error -1073741275 using sha256 algo
- Why are there no extensions in the CertificateExtensions property of CertificateRequest?
- PartialChain error in X509Chain when building certificate chain?
- Including other certificates when signing using SignedCms and CmsSigner on .NET C#
- Meaning of algorithm properties in a certificate
- Decryption error while Decrypt the symmetric key
- How can i get public key in DER format from base64 encoded public key?
- Failed to create SecKey using SecKeyCreateWithData using swift
- Automate parsing yubikey pin in pkcs11
- What is the safest way to recognize if a file is application/pkcs7-mime or analogous in Angular?
- OpenSSL.crypto.Error when trying to load certificate from Azure Key Vault
- convert pkcs1 signature to pkcs7 signature using nodejs
- In which version of openssl is the pkcs8 v2 option introduced?
- How to check pkcs format of a private key using golang code?
Related Questions in PKCS11INTEROP
- PkcsInterop throws Dll not found on Linux
- How to avoid Pkcs11Interop exception Method C_OpenSession returned CKR_TOKEN_NOT_RECOGNIZED
- Connect to remote HSM with PKCS11interop
- BouncyCastle gets error 'public key presented not for certificate signature' for retrieved ECPublicKey
- How to use SHA512 hashing algorithm with elliptic curve to sign, in PKCS11Interop?
- HSM RSA OAEP Encryption with Asymmetric hashes fails
- How to AuthenticateAsServer when Certificate is in HSM and privateKey is not embeded in Certificate and PrivateKey is not extractable from HSM
- Convert Pkcs11X509Certificate to X509Certificate2 to use as ssl client cert
- How to create a EC Key Pair?
- PKCS11 encrypt hash with RSA private key
- Create signature using Pkcs11Interop without token password
- How i extract a certificate and a private key from a token with PKCS11 Interop LowLevele API
- How to add more signed attributes to an iText signature (PDF/CMS)
- PKCS#11Interop.X509Store unable to find Private Key
- Generating XAdES from USB Token in c#
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The problem turned out to be that the IIS does some sort of isolation to the application. Even if you change the user in the Application Pool, you won't be able to access the current user certificate store, so any digital signature will not work.
Even if the problems above are solved, if you require a pin prompt, I don't think the IIS will show it.
IIS is not suitable for this sort of application, an alternative I found is Kestrel server.
I also use ePass2003, and the solution I mentioned worked in Windows 10, and Windows Server 2019, but not Windows Server 2008; it was a pin prompt problem.
I use a couple of tokens simultaneously, and they work fine. But only on a physical machine, it doesn't see more than one token on a virtual machine.