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

Combobox not getting focus in JTable - Java 8
Asn1 Tag contents
How to place HashSets INSIDE of a HashMap?
Is it possible to specify List indexes as optional in Orika?
JAX-RS: Retrieving an attribute from a post() Response
Retrieve Date information from table with Timestamp and convert into 24hr format string
difference between chrome apps and pc executable softwares
thread from java.util.concurrent
Spring JPA with boolean fields throws “cannot resolve property exception”
How to create Java obj from JSON with varying field structure
Log4j 2.6 (properties file) with Spring Boot 1.3.5 (gradle) not working
Compare input to a specific line saved in a text file JAVA
Jade: how to run the same agent multiple times?
Maven dependencies error
Input == null in ImageIO.read [duplicate]
Make JavaFX TableView Rows Unselectable and NoFocusTraversable

Categories

HOME
hive
debugging
heroku
view
office365api
octobercms
paw-app
survey
win32gui
windows-server
enterprise-library-5
opengl-es-2.0
constraint-programming
floating-action-button
flask-wtforms
quartz-scheduler
telephony
lucene.net
autocad-plugin
object-detection
physics-engine
ehcache
wtx
gitignore
objectanimator
file-rename
javascriptcore
google-sites-2016
catch-all
xmlreader
catalog
web-mining
automake
hockeyapp
theano.scan
streamreader
google-closure
flashair
node-sass
businessworks
executenonquery
smartcontracts
youcompleteme
komodoedit
jedis
prolog-setof
snmptrapd
ifs
dynamics-sl
grails-tomcat-plugin
intrusion-detection
fody
player
connect-by
moveit
make-install
phpcas
reactive-banana
citrus-pay
tarjans-algorithm
event-bubbling
processmodel
c++03
npapi
tween
pick
xc16
tt-news
google-style-guide
codeigniter-routing
mechanize-ruby
undefined-reference
dealloc
transcoding
stxxl
monomac
google-cloud-save
easy-install
eclipse-memory-analyzer
gwt-rpc
xamlparseexception
limejs
type-equivalence
robotics-studio
first-responder
enter
spyware
xmemcached
appendto
calling-convention
locate
sproutcore-2
dbal
asp.net-profiles
kdbg
simpletest
premature-optimization

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App