java.security-solaris revision 5724
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87Julian Kornberger# This is the "master security properties file".
ad3d301b618bf0cac4778b967854c50f486b282bJulian Kornberger# In this file, various security properties are set for use by
ad3d301b618bf0cac4778b967854c50f486b282bJulian Kornberger# java.security classes. This is where users can statically register
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# Cryptography Package Providers ("providers" for short). The term
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# "provider" refers to a package or set of packages that supply a
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# concrete implementation of a subset of the cryptography aspects of
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# the Java Security API. A provider may, for example, implement one or
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# more digital signature algorithms or message digest algorithms.
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# Each provider must implement a subclass of the Provider class.
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# To register a provider in this master security properties file,
8abb7a3541206ef22ec2325834410ca2553a85c2Tim Reddehase# specify the Provider subclass name and priority in the format
f6a95bebe3970a55b62d028195351466d063399cTim Reddehase# This declares a provider, and specifies its preference
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# order n. The preference order is the order in which providers are
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# searched for requested algorithms (when no specific provider is
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# requested). The order is 1-based; 1 is the most preferred, followed
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# by 2, and so on.
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# <className> must specify the subclass of the Provider class whose
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# constructor sets the values of various properties that are required
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# for the Java Security API to look up the algorithms or other
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# facilities implemented by the provider.
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# There must be at least one provider specification in java.security.
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# There is a default provider that comes standard with the JDK. It
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# is called the "SUN" provider, and its Provider subclass
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# named Sun appears in the sun.security.provider package. Thus, the
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# "SUN" provider is registered via the following:
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehase# security.provider.1=sun.security.provider.Sun
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# (The number 1 is used for the default provider.)
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# Note: Providers can be dynamically registered instead by calls to
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# either the addProvider or insertProviderAt method in the Security
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# List of providers and their preference orders (see above):
c8e6256890e8de1bf26247d87934ef2676691507Tim Reddehasesecurity.provider.1=com.oracle.security.ucrypto.UcryptoProvider ${java.home}/lib/security/ucrypto-solaris.cfg
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehasesecurity.provider.2=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/sunpkcs11-solaris.cfg
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.4=sun.security.rsa.SunRsaSign
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.6=com.sun.net.ssl.internal.ssl.Provider
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.7=com.sun.crypto.provider.SunJCE
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehasesecurity.provider.8=sun.security.jgss.SunProvider
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.9=com.sun.security.sasl.Provider
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.10=org.jcp.xml.dsig.internal.dom.XMLDSigRI
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehasesecurity.provider.11=sun.security.smartcardio.SunPCSC
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehase# Select the source of seed data for SecureRandom. By default an
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehase# attempt is made to use the entropy gathering device specified by
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehase# the securerandom.source property. If an exception occurs when
2382da8dccfccb49e8021a60e4685b9ec861874fTim Reddehase# accessing the URL then the traditional system/thread activity
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87Julian Kornberger# algorithm is used.
eec356c819e765d35c3566a5adfb168a12decc9cTim Reddehase# On Solaris and Linux systems, if file:/dev/urandom is specified and it
ad3d301b618bf0cac4778b967854c50f486b282bJulian Kornberger# exists, a special SecureRandom implementation is activated by default.
ad3d301b618bf0cac4778b967854c50f486b282bJulian Kornberger# This "NativePRNG" reads random bytes directly from /dev/urandom.
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87Julian Kornberger# On Windows systems, the URLs file:/dev/random and file:/dev/urandom
a6b1ad099899012cfad6da58a5dc8c8ce08bfce4Tim Reddehase# enables use of the Microsoft CryptoAPI seed functionality.
dcc3d62e5ee2d3f84edc1b0f8bbaf79e58066799Tim Reddehase# The entropy gathering device is described as a URL and can also
dcc3d62e5ee2d3f84edc1b0f8bbaf79e58066799Tim Reddehase# be specified with the system property "java.security.egd". For example,
dcc3d62e5ee2d3f84edc1b0f8bbaf79e58066799Tim Reddehase# Specifying this system property will override the securerandom.source
dcc3d62e5ee2d3f84edc1b0f8bbaf79e58066799Tim Reddehase# Class to instantiate as the javax.security.auth.login.Configuration
dcc3d62e5ee2d3f84edc1b0f8bbaf79e58066799Tim Reddehaselogin.configuration.provider=com.sun.security.auth.login.ConfigFile
# with -Djava.security.policy=somefile. Comment out this line to disable
keystore.type=jks
package.access=sun.,\
package.definition=sun.,\
# or overridden on the command line via -Djava.security.properties
# the javax.net.ssl package.
ssl.KeyManagerFactory.algorithm=SunX509
# ocsp.enable=true
# then both the "ocsp.responderCertIssuerName" and
# "ocsp.responderCertSerialNumber" properties must be used instead. When this
# ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp"
# property is set then the "ocsp.responderCertSerialNumber" property must also
# be set. When the "ocsp.responderCertSubjectName" property is set then this
# ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp"
# validation. When this property is set then the "ocsp.responderCertIssuerName"
# property must also be set. When the "ocsp.responderCertSubjectName" property
# ocsp.responderCertSerialNumber=2A:FF:00
# more than what is defined in krb5.conf, it will be ignored.
# The blacklist is reset when krb5.conf is reloaded. You can add
# refreshKrb5Config=true to a JAAS configuration file so that krb5.conf is
# krb5.kdc.bad.policy = tryLast
# krb5.kdc.bad.policy = tryLess:2,2000
krb5.kdc.bad.policy = tryLast
# and/or key length. This includes algorithms used in certificates, as well
# jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 2048
# Algorithm restrictions for Secure Socket Layer/Transport Layer Security
# (SSL/TLS) processing
# when using SSL/TLS. This section describes the mechanism for disabling
# algorithms during SSL/TLS security parameters negotiation, including cipher
# This is in addition to the jdk.certpath.disabledAlgorithms property above.
# See the specification of "jdk.certpath.disabledAlgorithms" for the
# jdk.tls.disabledAlgorithms=MD5, SHA1, DSA, RSA keySize < 2048