java


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

Related Links

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

Categories

HOME
maven
vbscript
omnet++
appx
hp-exstream
vmware
grep
rsyslog
amortized-analysis
leon
yum
qore
multiple-records
gorm
midi
spring-xd
ups
workload-scheduler
aurigma
viewport
autocad-plugin
abi
errorlevel
arabic
ehcache
zurb-foundation-6
restful-authentication
hammerspoon
selectedindexchanged
maquette
libssl
instant-messaging
socialengine
binary-data
yadcf
functor
google-sites-2016
windows-dev-center
cloud-code
lto
streamsets
sqlite2
webdriver-manager
cookiecutter-django
ensembles
janrain
isbn
flashair
s
node-sass
btrace
angular-resource
rails-routing
celery-task
tizen-native-app
windows-mobile-6.5
lync-client-sdk
gnome-shell-extensions
background-service
cubes
xcb
static-ip-address
database-optimization
google-web-starter-kit
nsfilemanager
disque
react-native-listview
ready-api
pickadate
ruby-2.2
fouc
angular-leaflet-directive
embedded-code
ibaction
appfabric-cache
sortedlist
operator-precedence
tablelayout
castle
jubula
reactfx
ruby-datamapper
cos
buster.js
html4
django-nonrel
eventlistener
jelly
trusted
windows-phone-7.1.1
subscript
window-management
xdomainrequest
appender
telerik-scheduler
yslow
infrastructure
modelstate
text-coloring
aquaticprime
genealogy
rtml
ntvdm.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App