java program says "The page requires a client certificate"
posted 10 years ago
Im using a java program that basically gets data using UrlConection. One website requires a certificate to logon to it. Ive got the PFX certificate and installed in my IE browser.
Ive read somewhere that for java uses cacerts file to store certificate so that java programs can be sued to login into such websites which certificates for browsing. Ive exported the certificate from IE in DER export X.509 format and imported that certificate int cacerts successfully.
When the java program is run, it says "The page requires a client certificate".
As the certificate import into cacerts was successfull, is there any other place where Ive to confgure?
Can anybody tell me how to make java trust certificates of .PFX format?