windows-my certificate store equivalent linux
I have a pfx file which I've stored on my windows machine. I'm able to access it in my java program using http://www.oracle.com/technetwork/articles/javase/security-137537.html However, is there some kind of equivalent way I can install and access the certificate in java on a linux platform? I also saw this link: Linux equivalent for the Windows certificate store Are these accessible in a java api?
Reading your link and several post here and here, there is no available system keystore for linux in a similar way to Windows. There is only an historical OpenSSL convention to store in the filesystem certificates /etc/ssl/certs and keys /etc/ssl/private Therefore, it is needed to install an extra package to manage keys. I have found Mozilla firefox keystore Gnome keyring Mozilla Firefox Keystore Java applications launched from browsers (almostd deprecated) applets that needed to access user's keystore, got certificates from Mozilla Firefox's keystore. You can use it also from a Java local application. See http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/keystores.html Create jss directory under Mozilla's installed directory. Copy JSS JAR file into the jss directory. Copy JSS native library .so into Mozilla's installed directory. Set environment variable MOZILLA_HOME to Mozilla's installed directory in Mozilla's launch script. Change environment variable LD_LIBRARY_PATH to include Mozilla's installed directory in Mozilla's launch script. In this blog is also explained (spanish) This is a well-known alternative to get a managed keystore on Linux without using the filesystem. Gnome keyring I have found this project, but I can not make sure it works properly. It has a PKCS#11 interface, so it should be accesible from Java using the suitable driver
Why is not possible to reopen a closed (standard) stream?
Spring Application loads twice
How to find memory leakage in J2EE application without having a source code
Prevent ActionBar back button to recreate the MainActivity
Throw runtime exception in Closable.close()
Is there a new schema location for websphere ibm-web-bnd.xml?
Java: How to get the difference of the current date, and then an inputted date [duplicate]
There is an issue with my if-else statements where my variables are not getting initialized
ActionBarDrawerToggle not accepting R.drawable file
Why does my client Socket not connect to my ServerSocket?
Building JAR at runtime and use it as a referenced library
Make a circle follow the mouse
Getting annotation attribute value from inside the method
while loop not printing message
forwarding to struts jsp works sometimes, sometimes it doesn't
send data to class using jquery