java.security 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178
  1. #
  2. # This is the "master security properties file".
  3. #
  4. # An alternate java.security properties file may be specified
  5. # from the command line via the system property
  6. #
  7. # -Djava.security.properties=<URL>
  8. #
  9. # This properties file appends to the master security properties file.
  10. # If both properties files specify values for the same key, the value
  11. # from the command-line properties file is selected, as it is the last
  12. # one loaded.
  13. #
  14. # Also, if you specify
  15. #
  16. # -Djava.security.properties==<URL> (2 equals),
  17. #
  18. # then that properties file completely overrides the master security
  19. # properties file.
  20. #
  21. # To disable the ability to specify an additional properties file from
  22. # the command line, set the key security.overridePropertiesFile
  23. # to false in the master security properties file. It is set to true
  24. # by default.
  25. # In this file, various security properties are set for use by
  26. # java.security classes. This is where users can statically register
  27. # Cryptography Package Providers ("providers" for short). The term
  28. # "provider" refers to a package or set of packages that supply a
  29. # concrete implementation of a subset of the cryptography aspects of
  30. # the Java Security API. A provider may, for example, implement one or
  31. # more digital signature algorithms or message digest algorithms.
  32. #
  33. # Each provider must implement a subclass of the Provider class.
  34. # To register a provider in this master security properties file,
  35. # specify the Provider subclass name and priority in the format
  36. #
  37. # security.provider.<n>=<className>
  38. #
  39. # This declares a provider, and specifies its preference
  40. # order n. The preference order is the order in which providers are
  41. # searched for requested algorithms (when no specific provider is
  42. # requested). The order is 1-based; 1 is the most preferred, followed
  43. # by 2, and so on.
  44. #
  45. # <className> must specify the subclass of the Provider class whose
  46. # constructor sets the values of various properties that are required
  47. # for the Java Security API to look up the algorithms or other
  48. # facilities implemented by the provider.
  49. #
  50. # There must be at least one provider specification in java.security.
  51. # There is a default provider that comes standard with the JDK. It
  52. # is called the "SUN" provider, and its Provider subclass
  53. # named Sun appears in the sun.security.provider package. Thus, the
  54. # "SUN" provider is registered via the following:
  55. #
  56. # security.provider.1=sun.security.provider.Sun
  57. #
  58. # (The number 1 is used for the default provider.)
  59. #
  60. # Note: Providers can be dynamically registered instead by calls to
  61. # either the addProvider or insertProviderAt method in the Security
  62. # class.
  63. #
  64. # List of providers and their preference orders (see above):
  65. #
  66. security.provider.1=sun.security.provider.Sun
  67. security.provider.2=sun.security.rsa.SunRsaSign
  68. security.provider.3=sun.security.ec.SunEC
  69. security.provider.4=com.sun.net.ssl.internal.ssl.Provider
  70. security.provider.5=com.sun.crypto.provider.SunJCE
  71. security.provider.6=sun.security.jgss.SunProvider
  72. security.provider.7=com.sun.security.sasl.Provider
  73. security.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI
  74. security.provider.9=sun.security.smartcardio.SunPCSC
  75. security.provider.10=sun.security.mscapi.SunMSCAPI
  76. #
  77. # Sun Provider SecureRandom seed source.
  78. #
  79. # Select the primary source of seed data for the "SHA1PRNG" and
  80. # "NativePRNG" SecureRandom implementations in the "Sun" provider.
  81. # (Other SecureRandom implementations might also use this property.)
  82. #
  83. # On Unix-like systems (for example, Solaris/Linux/MacOS), the
  84. # "NativePRNG" and "SHA1PRNG" implementations obtains seed data from
  85. # special device files such as file:/dev/random.
  86. #
  87. # On Windows systems, specifying the URLs "file:/dev/random" or
  88. # "file:/dev/urandom" will enable the native Microsoft CryptoAPI seeding
  89. # mechanism for SHA1PRNG.
  90. #
  91. # By default, an attempt is made to use the entropy gathering device
  92. # specified by the "securerandom.source" Security property. If an
  93. # exception occurs while accessing the specified URL:
  94. #
  95. # SHA1PRNG:
  96. # the traditional system/thread activity algorithm will be used.
  97. #
  98. # NativePRNG:
  99. # a default value of /dev/random will be used. If neither
  100. # are available, the implementation will be disabled.
  101. # "file" is the only currently supported protocol type.
  102. #
  103. # The entropy gathering device can also be specified with the System
  104. # property "java.security.egd". For example:
  105. #
  106. # % java -Djava.security.egd=file:/dev/random MainClass
  107. #
  108. # Specifying this System property will override the
  109. # "securerandom.source" Security property.
  110. #
  111. # In addition, if "file:/dev/random" or "file:/dev/urandom" is
  112. # specified, the "NativePRNG" implementation will be more preferred than
  113. # SHA1PRNG in the Sun provider.
  114. #
  115. securerandom.source=file:/dev/random
  116. #
  117. # A list of known strong SecureRandom implementations.
  118. #
  119. # To help guide applications in selecting a suitable strong
  120. # java.security.SecureRandom implementation, Java distributions should
  121. # indicate a list of known strong implementations using the property.
  122. #
  123. # This is a comma-separated list of algorithm and/or algorithm:provider
  124. # entries.
  125. #
  126. securerandom.strongAlgorithms=Windows-PRNG:SunMSCAPI,SHA1PRNG:SUN
  127. #
  128. # Class to instantiate as the javax.security.auth.login.Configuration
  129. # provider.
  130. #
  131. login.configuration.provider=sun.security.provider.ConfigFile
  132. #
  133. # Default login configuration file
  134. #
  135. #login.config.url.1=file:${user.home}/.java.login.config
  136. #
  137. # Class to instantiate as the system Policy. This is the name of the class
  138. # that will be used as the Policy object.
  139. #
  140. policy.provider=sun.security.provider.PolicyFile
  141. # The default is to have a single system-wide policy file,
  142. # and a policy file in the user's home directory.
  143. policy.url.1=file:${java.home}/lib/security/java.policy
  144. policy.url.2=file:${user.home}/.java.policy
  145. # whether or not we expand properties in the policy file
  146. # if this is set to false, properties (${...}) will not be expanded in policy
  147. # files.
  148. policy.expandProperties=true
  149. # whether or not we allow an extra policy to be passed on the command line
  150. # with -Djava.security.policy=somefile. Comment out this line to disable
  151. # this feature.
  152. policy.allowSystemProperty=true
  153. # whether or not we look into the IdentityScope for trusted Identities
  154. # when encountering a 1.1 signed JAR file. If the identity is found
  155. # and is trusted, we grant it AllPermission.
  156. policy.ignoreIdentityScope=false
  157. #
  158. # Default keystore type.
  159. #
  160. keystore.type=jks
  161. #
  162. # Controls compatibility mode for the JKS keystore type.
  163. #
  164. # When set to 'true', the JKS keystore type supports loading
  165. # keystore files in either JKS or PKCS12 format. When set to 'false'
  166. # it supports loading only JKS keystore files.
  167. #
  168. keystore.type.compat=true
  169. #
  170. # List of comma-separated packages that start with or equal this string
  171. # will cause a security exception to be thrown when
  172. # passed to checkPackageAccess unless the
  173. # corresponding RuntimePermission ("accessClassInPackage."+package) has
  174. # been granted.
  175. package.access=sun.,\
  176. com.sun.xml.internal.,\
  177. com.sun.imageio.,\
  178. com.sun.istack.internal.,\
  179. com.sun.jmx.,\
  180. com.sun.media.sound.,\
  181. com.sun.naming.internal.,\
  182. com.sun.proxy.,\
  183. com.sun.corba.se.,\
  184. com.sun.org.apache.bcel.internal.,\
  185. com.sun.org.apache.regexp.internal.,\
  186. com.sun.org.apache.xerces.internal.,\
  187. com.sun.org.apache.xpath.internal.,\
  188. com.sun.org.apache.xalan.internal.extensions.,\
  189. com.sun.org.apache.xalan.internal.lib.,\
  190. com.sun.org.apache.xalan.internal.res.,\
  191. com.sun.org.apache.xalan.internal.templates.,\
  192. com.sun.org.apache.xalan.internal.utils.,\
  193. com.sun.org.apache.xalan.internal.xslt.,\
  194. com.sun.org.apache.xalan.internal.xsltc.cmdline.,\
  195. com.sun.org.apache.xalan.internal.xsltc.compiler.,\
  196. com.sun.org.apache.xalan.internal.xsltc.trax.,\
  197. com.sun.org.apache.xalan.internal.xsltc.util.,\
  198. com.sun.org.apache.xml.internal.res.,\
  199. com.sun.org.apache.xml.internal.resolver.helpers.,\
  200. com.sun.org.apache.xml.internal.resolver.readers.,\
  201. com.sun.org.apache.xml.internal.security.,\
  202. com.sun.org.apache.xml.internal.serializer.utils.,\
  203. com.sun.org.apache.xml.internal.utils.,\
  204. com.sun.org.glassfish.,\
  205. com.oracle.xmlns.internal.,\
  206. com.oracle.webservices.internal.,\
  207. oracle.jrockit.jfr.,\
  208. org.jcp.xml.dsig.internal.,\
  209. jdk.internal.,\
  210. jdk.nashorn.internal.,\
  211. jdk.nashorn.tools.,\
  212. jdk.xml.internal.,\
  213. com.sun.activation.registries.,\
  214. com.sun.java.accessibility.,\
  215. jdk.jfr.events.,\
  216. jdk.jfr.internal.,\
  217. jdk.management.jfr.internal.
  218. #
  219. # List of comma-separated packages that start with or equal this string
  220. # will cause a security exception to be thrown when
  221. # passed to checkPackageDefinition unless the
  222. # corresponding RuntimePermission ("defineClassInPackage."+package) has
  223. # been granted.
  224. #
  225. # by default, none of the class loaders supplied with the JDK call
  226. # checkPackageDefinition.
  227. #
  228. package.definition=sun.,\
  229. com.sun.xml.internal.,\
  230. com.sun.imageio.,\
  231. com.sun.istack.internal.,\
  232. com.sun.jmx.,\
  233. com.sun.media.sound.,\
  234. com.sun.naming.internal.,\
  235. com.sun.proxy.,\
  236. com.sun.corba.se.,\
  237. com.sun.org.apache.bcel.internal.,\
  238. com.sun.org.apache.regexp.internal.,\
  239. com.sun.org.apache.xerces.internal.,\
  240. com.sun.org.apache.xpath.internal.,\
  241. com.sun.org.apache.xalan.internal.extensions.,\
  242. com.sun.org.apache.xalan.internal.lib.,\
  243. com.sun.org.apache.xalan.internal.res.,\
  244. com.sun.org.apache.xalan.internal.templates.,\
  245. com.sun.org.apache.xalan.internal.utils.,\
  246. com.sun.org.apache.xalan.internal.xslt.,\
  247. com.sun.org.apache.xalan.internal.xsltc.cmdline.,\
  248. com.sun.org.apache.xalan.internal.xsltc.compiler.,\
  249. com.sun.org.apache.xalan.internal.xsltc.trax.,\
  250. com.sun.org.apache.xalan.internal.xsltc.util.,\
  251. com.sun.org.apache.xml.internal.res.,\
  252. com.sun.org.apache.xml.internal.resolver.helpers.,\
  253. com.sun.org.apache.xml.internal.resolver.readers.,\
  254. com.sun.org.apache.xml.internal.security.,\
  255. com.sun.org.apache.xml.internal.serializer.utils.,\
  256. com.sun.org.apache.xml.internal.utils.,\
  257. com.sun.org.glassfish.,\
  258. com.oracle.xmlns.internal.,\
  259. com.oracle.webservices.internal.,\
  260. oracle.jrockit.jfr.,\
  261. org.jcp.xml.dsig.internal.,\
  262. jdk.internal.,\
  263. jdk.nashorn.internal.,\
  264. jdk.nashorn.tools.,\
  265. jdk.xml.internal.,\
  266. com.sun.activation.registries.,\
  267. com.sun.java.accessibility.,\
  268. jdk.jfr.events.,\
  269. jdk.jfr.internal.,\
  270. jdk.management.jfr.internal.
  271. #
  272. # Determines whether this properties file can be appended to
  273. # or overridden on the command line via -Djava.security.properties
  274. #
  275. security.overridePropertiesFile=true
  276. #
  277. # Determines the default key and trust manager factory algorithms for
  278. # the javax.net.ssl package.
  279. #
  280. ssl.KeyManagerFactory.algorithm=SunX509
  281. ssl.TrustManagerFactory.algorithm=PKIX
  282. #
  283. # The Java-level namelookup cache policy for successful lookups:
  284. #
  285. # any negative value: caching forever
  286. # any positive value: the number of seconds to cache an address for
  287. # zero: do not cache
  288. #
  289. # default value is forever (FOREVER). For security reasons, this
  290. # caching is made forever when a security manager is set. When a security
  291. # manager is not set, the default behavior in this implementation
  292. # is to cache for 30 seconds.
  293. #
  294. # NOTE: setting this to anything other than the default value can have
  295. # serious security implications. Do not set it unless
  296. # you are sure you are not exposed to DNS spoofing attack.
  297. #
  298. #networkaddress.cache.ttl=-1
  299. # The Java-level namelookup cache policy for failed lookups:
  300. #
  301. # any negative value: cache forever
  302. # any positive value: the number of seconds to cache negative lookup results
  303. # zero: do not cache
  304. #
  305. # In some Microsoft Windows networking environments that employ
  306. # the WINS name service in addition to DNS, name service lookups
  307. # that fail may take a noticeably long time to return (approx. 5 seconds).
  308. # For this reason the default caching policy is to maintain these
  309. # results for 10 seconds.
  310. #
  311. #
  312. networkaddress.cache.negative.ttl=10
  313. #
  314. # Properties to configure OCSP for certificate revocation checking
  315. #
  316. # Enable OCSP
  317. #
  318. # By default, OCSP is not used for certificate revocation checking.
  319. # This property enables the use of OCSP when set to the value "true".
  320. #
  321. # NOTE: SocketPermission is required to connect to an OCSP responder.
  322. #
  323. # Example,
  324. # ocsp.enable=true
  325. #
  326. # Location of the OCSP responder
  327. #
  328. # By default, the location of the OCSP responder is determined implicitly
  329. # from the certificate being validated. This property explicitly specifies
  330. # the location of the OCSP responder. The property is used when the
  331. # Authority Information Access extension (defined in RFC 5280) is absent
  332. # from the certificate or when it requires overriding.
  333. #
  334. # Example,
  335. # ocsp.responderURL=http://ocsp.example.net:80
  336. #
  337. # Subject name of the OCSP responder's certificate
  338. #
  339. # By default, the certificate of the OCSP responder is that of the issuer
  340. # of the certificate being validated. This property identifies the certificate
  341. # of the OCSP responder when the default does not apply. Its value is a string
  342. # distinguished name (defined in RFC 2253) which identifies a certificate in
  343. # the set of certificates supplied during cert path validation. In cases where
  344. # the subject name alone is not sufficient to uniquely identify the certificate
  345. # then both the "ocsp.responderCertIssuerName" and
  346. # "ocsp.responderCertSerialNumber" properties must be used instead. When this
  347. # property is set then those two properties are ignored.
  348. #
  349. # Example,
  350. # ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp"
  351. #
  352. # Issuer name of the OCSP responder's certificate
  353. #
  354. # By default, the certificate of the OCSP responder is that of the issuer
  355. # of the certificate being validated. This property identifies the certificate
  356. # of the OCSP responder when the default does not apply. Its value is a string
  357. # distinguished name (defined in RFC 2253) which identifies a certificate in
  358. # the set of certificates supplied during cert path validation. When this
  359. # property is set then the "ocsp.responderCertSerialNumber" property must also
  360. # be set. When the "ocsp.responderCertSubjectName" property is set then this
  361. # property is ignored.
  362. #
  363. # Example,
  364. # ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp"
  365. #
  366. # Serial number of the OCSP responder's certificate
  367. #
  368. # By default, the certificate of the OCSP responder is that of the issuer
  369. # of the certificate being validated. This property identifies the certificate
  370. # of the OCSP responder when the default does not apply. Its value is a string
  371. # of hexadecimal digits (colon or space separators may be present) which
  372. # identifies a certificate in the set of certificates supplied during cert path
  373. # validation. When this property is set then the "ocsp.responderCertIssuerName"
  374. # property must also be set. When the "ocsp.responderCertSubjectName" property
  375. # is set then this property is ignored.
  376. #
  377. # Example,
  378. # ocsp.responderCertSerialNumber=2A:FF:00
  379. #
  380. # Policy for failed Kerberos KDC lookups:
  381. #
  382. # When a KDC is unavailable (network error, service failure, etc), it is
  383. # put inside a blacklist and accessed less often for future requests. The
  384. # value (case-insensitive) for this policy can be:
  385. #
  386. # tryLast
  387. # KDCs in the blacklist are always tried after those not on the list.
  388. #
  389. # tryLess[:max_retries,timeout]
  390. # KDCs in the blacklist are still tried by their order in the configuration,
  391. # but with smaller max_retries and timeout values. max_retries and timeout
  392. # are optional numerical parameters (default 1 and 5000, which means once
  393. # and 5 seconds). Please notes that if any of the values defined here is
  394. # more than what is defined in krb5.conf, it will be ignored.
  395. #
  396. # Whenever a KDC is detected as available, it is removed from the blacklist.
  397. # The blacklist is reset when krb5.conf is reloaded. You can add
  398. # refreshKrb5Config=true to a JAAS configuration file so that krb5.conf is
  399. # reloaded whenever a JAAS authentication is attempted.
  400. #
  401. # Example,
  402. # krb5.kdc.bad.policy = tryLast
  403. # krb5.kdc.bad.policy = tryLess:2,2000
  404. krb5.kdc.bad.policy = tryLast
  405. #
  406. # Kerberos cross-realm referrals (RFC 6806)
  407. #
  408. # OpenJDK's Kerberos client supports cross-realm referrals as defined in
  409. # RFC 6806. This allows to setup more dynamic environments in which clients
  410. # do not need to know in advance how to reach the realm of a target principal
  411. # (either a user or service).
  412. #
  413. # When a client issues an AS or a TGS request, the "canonicalize" option
  414. # is set to announce support of this feature. A KDC server may fulfill the
  415. # request or reply referring the client to a different one. If referred,
  416. # the client will issue a new request and the cycle repeats.
  417. #
  418. # In addition to referrals, the "canonicalize" option allows the KDC server
  419. # to change the client name in response to an AS request. For security reasons,
  420. # RFC 6806 (section 11) FAST scheme is enforced.
  421. #
  422. # Disable Kerberos cross-realm referrals. Value may be overwritten with a
  423. # System property (-Dsun.security.krb5.disableReferrals).
  424. sun.security.krb5.disableReferrals=false
  425. # Maximum number of AS or TGS referrals to avoid infinite loops. Value may
  426. # be overwritten with a System property (-Dsun.security.krb5.maxReferrals).
  427. sun.security.krb5.maxReferrals=5
  428. #
  429. # This property contains a list of disabled EC Named Curves that can be included
  430. # in the jdk.[tls|certpath|jar].disabledAlgorithms properties. To include this
  431. # list in any of the disabledAlgorithms properties, add the property name as
  432. # an entry.
  433. jdk.disabled.namedCurves = secp112r1, secp112r2, secp128r1, secp128r2, \
  434. secp160k1, secp160r1, secp160r2, secp192k1, secp192r1, secp224k1, \
  435. secp224r1, secp256k1, sect113r1, sect113r2, sect131r1, sect131r2, \
  436. sect163k1, sect163r1, sect163r2, sect193r1, sect193r2, sect233k1, \
  437. sect233r1, sect239k1, sect283k1, sect283r1, sect409k1, sect409r1, \
  438. sect571k1, sect571r1, X9.62 c2tnb191v1, X9.62 c2tnb191v2, \
  439. X9.62 c2tnb191v3, X9.62 c2tnb239v1, X9.62 c2tnb239v2, X9.62 c2tnb239v3, \
  440. X9.62 c2tnb359v1, X9.62 c2tnb431r1, X9.62 prime192v2, X9.62 prime192v3, \
  441. X9.62 prime239v1, X9.62 prime239v2, X9.62 prime239v3, brainpoolP256r1, \
  442. brainpoolP320r1, brainpoolP384r1, brainpoolP512r1
  443. #
  444. # Algorithm restrictions for certification path (CertPath) processing
  445. #
  446. # In some environments, certain algorithms or key lengths may be undesirable
  447. # for certification path building and validation. For example, "MD2" is
  448. # generally no longer considered to be a secure hash algorithm. This section
  449. # describes the mechanism for disabling algorithms based on algorithm name
  450. # and/or key length. This includes algorithms used in certificates, as well
  451. # as revocation information such as CRLs and signed OCSP Responses.
  452. # The syntax of the disabled algorithm string is described as follows:
  453. # DisabledAlgorithms:
  454. # " DisabledAlgorithm { , DisabledAlgorithm } "
  455. #
  456. # DisabledAlgorithm:
  457. # AlgorithmName [Constraint] { '&' Constraint } | IncludeProperty
  458. #
  459. # AlgorithmName:
  460. # (see below)
  461. #
  462. # Constraint:
  463. # KeySizeConstraint | CAConstraint | DenyAfterConstraint |
  464. # UsageConstraint
  465. #
  466. # KeySizeConstraint:
  467. # keySize Operator KeyLength
  468. #
  469. # Operator:
  470. # <= | < | == | != | >= | >
  471. #
  472. # KeyLength:
  473. # Integer value of the algorithm's key length in bits
  474. #
  475. # CAConstraint:
  476. # jdkCA
  477. #
  478. # DenyAfterConstraint:
  479. # denyAfter YYYY-MM-DD
  480. #
  481. # UsageConstraint:
  482. # usage [TLSServer] [TLSClient] [SignedJAR]
  483. #
  484. # IncludeProperty:
  485. # include <security property>
  486. #
  487. # The "AlgorithmName" is the standard algorithm name of the disabled
  488. # algorithm. See "Java Cryptography Architecture Standard Algorithm Name
  489. # Documentation" for information about Standard Algorithm Names. Matching
  490. # is performed using a case-insensitive sub-element matching rule. (For
  491. # example, in "SHA1withECDSA" the sub-elements are "SHA1" for hashing and
  492. # "ECDSA" for signatures.) If the assertion "AlgorithmName" is a
  493. # sub-element of the certificate algorithm name, the algorithm will be
  494. # rejected during certification path building and validation. For example,
  495. # the assertion algorithm name "DSA" will disable all certificate algorithms
  496. # that rely on DSA, such as NONEwithDSA, SHA1withDSA. However, the assertion
  497. # will not disable algorithms related to "ECDSA".
  498. #
  499. # The "IncludeProperty" allows a implementation-defined security property that
  500. # can be included in the disabledAlgorithms properties. These properties are
  501. # to help manage common actions easier across multiple disabledAlgorithm
  502. # properties.
  503. # There is one defined security property: jdk.disabled.NamedCurves
  504. # See the property for more specific details.
  505. #
  506. #
  507. # A "Constraint" defines restrictions on the keys and/or certificates for
  508. # a specified AlgorithmName:
  509. #
  510. # KeySizeConstraint:
  511. # keySize Operator KeyLength
  512. # The constraint requires a key of a valid size range if the
  513. # "AlgorithmName" is of a key algorithm. The "KeyLength" indicates
  514. # the key size specified in number of bits. For example,
  515. # "RSA keySize <= 1024" indicates that any RSA key with key size less
  516. # than or equal to 1024 bits should be disabled, and
  517. # "RSA keySize < 1024, RSA keySize > 2048" indicates that any RSA key
  518. # with key size less than 1024 or greater than 2048 should be disabled.
  519. # This constraint is only used on algorithms that have a key size.
  520. #
  521. # CAConstraint:
  522. # jdkCA
  523. # This constraint prohibits the specified algorithm only if the
  524. # algorithm is used in a certificate chain that terminates at a marked
  525. # trust anchor in the lib/security/cacerts keystore. If the jdkCA
  526. # constraint is not set, then all chains using the specified algorithm
  527. # are restricted. jdkCA may only be used once in a DisabledAlgorithm
  528. # expression.
  529. # Example: To apply this constraint to SHA-1 certificates, include
  530. # the following: "SHA1 jdkCA"
  531. #
  532. # DenyAfterConstraint:
  533. # denyAfter YYYY-MM-DD
  534. # This constraint prohibits a certificate with the specified algorithm
  535. # from being used after the date regardless of the certificate's
  536. # validity. JAR files that are signed and timestamped before the
  537. # constraint date with certificates containing the disabled algorithm
  538. # will not be restricted. The date is processed in the UTC timezone.
  539. # This constraint can only be used once in a DisabledAlgorithm
  540. # expression.
  541. # Example: To deny usage of RSA 2048 bit certificates after Feb 3 2020,
  542. # use the following: "RSA keySize == 2048 & denyAfter 2020-02-03"
  543. #
  544. # UsageConstraint:
  545. # usage [TLSServer] [TLSClient] [SignedJAR]
  546. # This constraint prohibits the specified algorithm for
  547. # a specified usage. This should be used when disabling an algorithm
  548. # for all usages is not practical. 'TLSServer' restricts the algorithm
  549. # in TLS server certificate chains when server authentication is
  550. # performed. 'TLSClient' restricts the algorithm in TLS client
  551. # certificate chains when client authentication is performed.
  552. # 'SignedJAR' constrains use of certificates in signed jar files.
  553. # The usage type follows the keyword and more than one usage type can
  554. # be specified with a whitespace delimiter.
  555. # Example: "SHA1 usage TLSServer TLSClient"
  556. #
  557. # When an algorithm must satisfy more than one constraint, it must be
  558. # delimited by an ampersand '&'. For example, to restrict certificates in a
  559. # chain that terminate at a distribution provided trust anchor and contain
  560. # RSA keys that are less than or equal to 1024 bits, add the following
  561. # constraint: "RSA keySize <= 1024 & jdkCA".
  562. #
  563. # All DisabledAlgorithms expressions are processed in the order defined in the
  564. # property. This requires lower keysize constraints to be specified
  565. # before larger keysize constraints of the same algorithm. For example:
  566. # "RSA keySize < 1024 & jdkCA, RSA keySize < 2048".
  567. #
  568. # Note: The algorithm restrictions do not apply to trust anchors or
  569. # self-signed certificates.
  570. #
  571. # Note: This property is currently used by Oracle's PKIX implementation. It
  572. # is not guaranteed to be examined and used by other implementations.
  573. #
  574. # Example:
  575. # jdk.certpath.disabledAlgorithms=MD2, DSA, RSA keySize < 2048
  576. #
  577. #
  578. jdk.certpath.disabledAlgorithms=MD2, MD5, SHA1 jdkCA & usage TLSServer, \
  579. RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224, \
  580. include jdk.disabled.namedCurves
  581. #
  582. # Algorithm restrictions for signed JAR files
  583. #
  584. # In some environments, certain algorithms or key lengths may be undesirable
  585. # for signed JAR validation. For example, "MD2" is generally no longer
  586. # considered to be a secure hash algorithm. This section describes the
  587. # mechanism for disabling algorithms based on algorithm name and/or key length.
  588. # JARs signed with any of the disabled algorithms or key sizes will be treated
  589. # as unsigned.
  590. #
  591. # The syntax of the disabled algorithm string is described as follows:
  592. # DisabledAlgorithms:
  593. # " DisabledAlgorithm { , DisabledAlgorithm } "
  594. #
  595. # DisabledAlgorithm:
  596. # AlgorithmName [Constraint] { '&' Constraint }
  597. #
  598. # AlgorithmName:
  599. # (see below)
  600. #
  601. # Constraint:
  602. # KeySizeConstraint | DenyAfterConstraint
  603. #
  604. # KeySizeConstraint:
  605. # keySize Operator KeyLength
  606. #
  607. # DenyAfterConstraint:
  608. # denyAfter YYYY-MM-DD
  609. #
  610. # Operator:
  611. # <= | < | == | != | >= | >
  612. #
  613. # KeyLength:
  614. # Integer value of the algorithm's key length in bits
  615. #
  616. # Note: This property is currently used by the JDK Reference
  617. # implementation. It is not guaranteed to be examined and used by other
  618. # implementations.
  619. #
  620. # See "jdk.certpath.disabledAlgorithms" for syntax descriptions.
  621. #
  622. jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024,
  623. DSA keySize < 1024, include jdk.disabled.namedCurves
  624. #
  625. # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
  626. # (SSL/TLS) processing
  627. #
  628. # In some environments, certain algorithms or key lengths may be undesirable
  629. # when using SSL/TLS. This section describes the mechanism for disabling
  630. # algorithms during SSL/TLS security parameters negotiation, including
  631. # protocol version negotiation, cipher suites selection, peer authentication
  632. # and key exchange mechanisms.
  633. #
  634. # Disabled algorithms will not be negotiated for SSL/TLS connections, even
  635. # if they are enabled explicitly in an application.
  636. #
  637. # For PKI-based peer authentication and key exchange mechanisms, this list
  638. # of disabled algorithms will also be checked during certification path
  639. # building and validation, including algorithms used in certificates, as
  640. # well as revocation information such as CRLs and signed OCSP Responses.
  641. # This is in addition to the jdk.certpath.disabledAlgorithms property above.
  642. #
  643. # See the specification of "jdk.certpath.disabledAlgorithms" for the
  644. # syntax of the disabled algorithm string.
  645. #
  646. # Note: The algorithm restrictions do not apply to trust anchors or
  647. # self-signed certificates.
  648. #
  649. # Note: This property is currently used by the JDK Reference implementation.
  650. # It is not guaranteed to be examined and used by other implementations.
  651. #
  652. # Example:
  653. # jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048
  654. jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
  655. EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
  656. include jdk.disabled.namedCurves
  657. # Legacy algorithms for Secure Socket Layer/Transport Layer Security (SSL/TLS)
  658. # processing in JSSE implementation.
  659. #
  660. # In some environments, a certain algorithm may be undesirable but it
  661. # cannot be disabled because of its use in legacy applications. Legacy
  662. # algorithms may still be supported, but applications should not use them
  663. # as the security strength of legacy algorithms are usually not strong enough
  664. # in practice.
  665. #
  666. # During SSL/TLS security parameters negotiation, legacy algorithms will
  667. # not be negotiated unless there are no other candidates.
  668. #
  669. # The syntax of the legacy algorithms string is described as this Java
  670. # BNF-style:
  671. # LegacyAlgorithms:
  672. # " LegacyAlgorithm { , LegacyAlgorithm } "
  673. #
  674. # LegacyAlgorithm:
  675. # AlgorithmName (standard JSSE algorithm name)
  676. #
  677. # See the specification of security property "jdk.certpath.disabledAlgorithms"
  678. # for the syntax and description of the "AlgorithmName" notation.
  679. #
  680. # Per SSL/TLS specifications, cipher suites have the form:
  681. # SSL_KeyExchangeAlg_WITH_CipherAlg_MacAlg
  682. # or
  683. # TLS_KeyExchangeAlg_WITH_CipherAlg_MacAlg
  684. #
  685. # For example, the cipher suite TLS_RSA_WITH_AES_128_CBC_SHA uses RSA as the
  686. # key exchange algorithm, AES_128_CBC (128 bits AES cipher algorithm in CBC
  687. # mode) as the cipher (encryption) algorithm, and SHA-1 as the message digest
  688. # algorithm for HMAC.
  689. #
  690. # The LegacyAlgorithm can be one of the following standard algorithm names:
  691. # 1. JSSE cipher suite name, e.g., TLS_RSA_WITH_AES_128_CBC_SHA
  692. # 2. JSSE key exchange algorithm name, e.g., RSA
  693. # 3. JSSE cipher (encryption) algorithm name, e.g., AES_128_CBC
  694. # 4. JSSE message digest algorithm name, e.g., SHA
  695. #
  696. # See SSL/TLS specifications and "Java Cryptography Architecture Standard
  697. # Algorithm Name Documentation" for information about the algorithm names.
  698. #
  699. # Note: This property is currently used by the JDK Reference implementation.
  700. # It is not guaranteed to be examined and used by other implementations.
  701. # There is no guarantee the property will continue to exist or be of the
  702. # same syntax in future releases.
  703. #
  704. # Example:
  705. # jdk.tls.legacyAlgorithms=DH_anon, DES_CBC, SSL_RSA_WITH_RC4_128_MD5
  706. #
  707. jdk.tls.legacyAlgorithms= \
  708. K_NULL, C_NULL, M_NULL, \
  709. DH_anon, ECDH_anon, \
  710. RC4_128, RC4_40, DES_CBC, DES40_CBC, \
  711. 3DES_EDE_CBC
  712. # The pre-defined default finite field Diffie-Hellman ephemeral (DHE)
  713. # parameters for Transport Layer Security (SSL/TLS/DTLS) processing.
  714. #
  715. # In traditional SSL/TLS/DTLS connections where finite field DHE parameters
  716. # negotiation mechanism is not used, the server offers the client group
  717. # parameters, base generator g and prime modulus p, for DHE key exchange.
  718. # It is recommended to use dynamic group parameters. This property defines
  719. # a mechanism that allows you to specify custom group parameters.
  720. #
  721. # The syntax of this property string is described as this Java BNF-style:
  722. # DefaultDHEParameters:
  723. # DefinedDHEParameters { , DefinedDHEParameters }
  724. #
  725. # DefinedDHEParameters:
  726. # "{" DHEPrimeModulus , DHEBaseGenerator "}"
  727. #
  728. # DHEPrimeModulus:
  729. # HexadecimalDigits
  730. #
  731. # DHEBaseGenerator:
  732. # HexadecimalDigits
  733. #
  734. # HexadecimalDigits:
  735. # HexadecimalDigit { HexadecimalDigit }
  736. #
  737. # HexadecimalDigit: one of
  738. # 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f
  739. #
  740. # Whitespace characters are ignored.
  741. #
  742. # The "DefinedDHEParameters" defines the custom group parameters, prime
  743. # modulus p and base generator g, for a particular size of prime modulus p.
  744. # The "DHEPrimeModulus" defines the hexadecimal prime modulus p, and the
  745. # "DHEBaseGenerator" defines the hexadecimal base generator g of a group
  746. # parameter. It is recommended to use safe primes for the custom group
  747. # parameters.
  748. #
  749. # If this property is not defined or the value is empty, the underlying JSSE
  750. # provider's default group parameter is used for each connection.
  751. #
  752. # If the property value does not follow the grammar, or a particular group
  753. # parameter is not valid, the connection will fall back and use the
  754. # underlying JSSE provider's default group parameter.
  755. #
  756. # Note: This property is currently used by OpenJDK's JSSE implementation. It
  757. # is not guaranteed to be examined and used by other implementations.
  758. #
  759. # Example:
  760. # jdk.tls.server.defaultDHEParameters=
  761. # { \
  762. # FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1 \
  763. # 29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD \
  764. # EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245 \
  765. # E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED \
  766. # EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381 \
  767. # FFFFFFFF FFFFFFFF, 2}
  768. #
  769. # TLS key limits on symmetric cryptographic algorithms
  770. #
  771. # This security property sets limits on algorithms key usage in TLS 1.3.
  772. # When the amount of data encrypted exceeds the algorithm value listed below,
  773. # a KeyUpdate message will trigger a key change. This is for symmetric ciphers
  774. # with TLS 1.3 only.
  775. #
  776. # The syntax for the property is described below:
  777. # KeyLimits:
  778. # " KeyLimit { , KeyLimit } "
  779. #
  780. # WeakKeyLimit:
  781. # AlgorithmName Action Length
  782. #
  783. # AlgorithmName:
  784. # A full algorithm transformation.
  785. #
  786. # Action:
  787. # KeyUpdate
  788. #
  789. # Length:
  790. # The amount of encrypted data in a session before the Action occurs
  791. # This value may be an integer value in bytes, or as a power of two, 2^29.
  792. #
  793. # KeyUpdate:
  794. # The TLS 1.3 KeyUpdate handshake process begins when the Length amount
  795. # is fulfilled.
  796. #
  797. # Note: This property is currently used by OpenJDK's JSSE implementation. It
  798. # is not guaranteed to be examined and used by other implementations.
  799. #
  800. jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37
  801. # Cryptographic Jurisdiction Policy defaults
  802. #
  803. # Import and export control rules on cryptographic software vary from
  804. # country to country. By default, the JDK provides two different sets of
  805. # cryptographic policy files:
  806. #
  807. # unlimited: These policy files contain no restrictions on cryptographic
  808. # strengths or algorithms.
  809. #
  810. # limited: These policy files contain more restricted cryptographic
  811. # strengths, and are still available if your country or
  812. # usage requires the traditional restrictive policy.
  813. #
  814. # The JDK JCE framework uses the unlimited policy files by default.
  815. # However the user may explicitly choose a set either by defining the
  816. # "crypto.policy" Security property or by installing valid JCE policy
  817. # jar files into the traditional JDK installation location. To better
  818. # support older JDK Update releases, the "crypto.policy" property is not
  819. # defined by default. See below for more information.
  820. #
  821. # The following logic determines which policy files are used:
  822. #
  823. # <java-home> refers to the directory where the JRE was
  824. # installed and may be determined using the "java.home"
  825. # System property.
  826. #
  827. # 1. If the Security property "crypto.policy" has been defined,
  828. # then the following mechanism is used:
  829. #
  830. # The policy files are stored as jar files in subdirectories of
  831. # <java-home>/lib/security/policy. Each directory contains a complete
  832. # set of policy files.
  833. #
  834. # The "crypto.policy" Security property controls the directory
  835. # selection, and thus the effective cryptographic policy.
  836. #
  837. # The default set of directories is:
  838. #
  839. # limited | unlimited
  840. #
  841. # 2. If the "crypto.policy" property is not set and the traditional
  842. # US_export_policy.jar and local_policy.jar files
  843. # (e.g. limited/unlimited) are found in the legacy
  844. # <java-home>/lib/security directory, then the rules embedded within
  845. # those jar files will be used. This helps preserve compatibility
  846. # for users upgrading from an older installation.
  847. #
  848. # 3. If the jar files are not present in the legacy location
  849. # and the "crypto.policy" Security property is not defined,
  850. # then the JDK will use the unlimited settings (equivalent to
  851. # crypto.policy=unlimited)
  852. #
  853. # Please see the JCA documentation for additional information on these
  854. # files and formats.
  855. #
  856. # YOU ARE ADVISED TO CONSULT YOUR EXPORT/IMPORT CONTROL COUNSEL OR ATTORNEY
  857. # TO DETERMINE THE EXACT REQUIREMENTS.
  858. #
  859. # Please note that the JCE for Java SE, including the JCE framework,
  860. # cryptographic policy files, and standard JCE providers provided with
  861. # the Java SE, have been reviewed and approved for export as mass market
  862. # encryption item by the US Bureau of Industry and Security.
  863. #
  864. # Note: This property is currently used by the JDK Reference implementation.
  865. # It is not guaranteed to be examined and used by other implementations.
  866. #
  867. #crypto.policy=unlimited
  868. #
  869. # The policy for the XML Signature secure validation mode. The mode is
  870. # enabled by setting the property "org.jcp.xml.dsig.secureValidation" to
  871. # true with the javax.xml.crypto.XMLCryptoContext.setProperty() method,
  872. # or by running the code with a SecurityManager.
  873. #
  874. # Policy:
  875. # Constraint {"," Constraint }
  876. # Constraint:
  877. # AlgConstraint | MaxTransformsConstraint | MaxReferencesConstraint |
  878. # ReferenceUriSchemeConstraint | KeySizeConstraint | OtherConstraint
  879. # AlgConstraint
  880. # "disallowAlg" Uri
  881. # MaxTransformsConstraint:
  882. # "maxTransforms" Integer
  883. # MaxReferencesConstraint:
  884. # "maxReferences" Integer
  885. # ReferenceUriSchemeConstraint:
  886. # "disallowReferenceUriSchemes" String { String }
  887. # KeySizeConstraint:
  888. # "minKeySize" KeyAlg Integer
  889. # OtherConstraint:
  890. # "noDuplicateIds" | "noRetrievalMethodLoops"
  891. #
  892. # For AlgConstraint, Uri is the algorithm URI String that is not allowed.
  893. # See the XML Signature Recommendation for more information on algorithm
  894. # URI Identifiers. For KeySizeConstraint, KeyAlg is the standard algorithm
  895. # name of the key type (ex: "RSA"). If the MaxTransformsConstraint,
  896. # MaxReferencesConstraint or KeySizeConstraint (for the same key type) is
  897. # specified more than once, only the last entry is enforced.
  898. #
  899. # Note: This property is currently used by the JDK Reference implementation. It
  900. # is not guaranteed to be examined and used by other implementations.
  901. #
  902. jdk.xml.dsig.secureValidationPolicy=\
  903. disallowAlg http://www.w3.org/TR/1999/REC-xslt-19991116,\
  904. disallowAlg http://www.w3.org/2001/04/xmldsig-more#rsa-md5,\
  905. disallowAlg http://www.w3.org/2001/04/xmldsig-more#hmac-md5,\
  906. disallowAlg http://www.w3.org/2001/04/xmldsig-more#md5,\
  907. maxTransforms 5,\
  908. maxReferences 30,\
  909. disallowReferenceUriSchemes file http https,\
  910. minKeySize RSA 1024,\
  911. minKeySize DSA 1024,\
  912. minKeySize EC 224,\
  913. noDuplicateIds,\
  914. noRetrievalMethodLoops
  915. #
  916. # Serialization process-wide filter
  917. #
  918. # A filter, if configured, is used by java.io.ObjectInputStream during
  919. # deserialization to check the contents of the stream.
  920. # A filter is configured as a sequence of patterns, each pattern is either
  921. # matched against the name of a class in the stream or defines a limit.
  922. # Patterns are separated by ";" (semicolon).
  923. # Whitespace is significant and is considered part of the pattern.
  924. #
  925. # If the system property jdk.serialFilter is also specified on the command
  926. # line, it supersedes the security property value defined here.
  927. #
  928. # If a pattern includes a "=", it sets a limit.
  929. # If a limit appears more than once the last value is used.
  930. # Limits are checked before classes regardless of the order in the sequence of patterns.
  931. # If any of the limits are exceeded, the filter status is REJECTED.
  932. #
  933. # maxdepth=value - the maximum depth of a graph
  934. # maxrefs=value - the maximum number of internal references
  935. # maxbytes=value - the maximum number of bytes in the input stream
  936. # maxarray=value - the maximum array length allowed
  937. #
  938. # Other patterns, from left to right, match the class or package name as
  939. # returned from Class.getName.
  940. # If the class is an array type, the class or package to be matched is the element type.
  941. # Arrays of any number of dimensions are treated the same as the element type.
  942. # For example, a pattern of "!example.Foo", rejects creation of any instance or
  943. # array of example.Foo.
  944. #
  945. # If the pattern starts with "!", the status is REJECTED if the remaining pattern
  946. # is matched; otherwise the status is ALLOWED if the pattern matches.
  947. # If the pattern ends with ".**" it matches any class in the package and all subpackages.
  948. # If the pattern ends with ".*" it matches any class in the package.
  949. # If the pattern ends with "*", it matches any class with the pattern as a prefix.
  950. # If the pattern is equal to the class name, it matches.
  951. # Otherwise, the status is UNDECIDED.
  952. #
  953. #jdk.serialFilter=pattern;pattern
  954. #
  955. # RMI Registry Serial Filter
  956. #
  957. # The filter pattern uses the same format as jdk.serialFilter.
  958. # This filter can override the builtin filter if additional types need to be
  959. # allowed or rejected from the RMI Registry or to decrease limits but not
  960. # to increase limits.
  961. # If the limits (maxdepth, maxrefs, or maxbytes) are exceeded, the object is rejected.
  962. #
  963. # Each non-array type is allowed or rejected if it matches one of the patterns,
  964. # evaluated from left to right, and is otherwise allowed. Arrays of any
  965. # component type, including subarrays and arrays of primitives, are allowed.
  966. #
  967. # Array construction of any component type, including subarrays and arrays of
  968. # primitives, are allowed unless the length is greater than the maxarray limit.
  969. # The filter is applied to each array element.
  970. #
  971. # The built-in filter allows subclasses of allowed classes and
  972. # can approximately be represented as the pattern:
  973. #
  974. #sun.rmi.registry.registryFilter=\
  975. # maxarray=1000000;\
  976. # maxdepth=20;\
  977. # java.lang.String;\
  978. # java.lang.Number;\
  979. # java.lang.reflect.Proxy;\
  980. # java.rmi.Remote;\
  981. # sun.rmi.server.UnicastRef;\
  982. # sun.rmi.server.RMIClientSocketFactory;\
  983. # sun.rmi.server.RMIServerSocketFactory;\
  984. # java.rmi.activation.ActivationID;\
  985. # java.rmi.server.UID
  986. #
  987. # RMI Distributed Garbage Collector (DGC) Serial Filter
  988. #
  989. # The filter pattern uses the same format as jdk.serialFilter.
  990. # This filter can override the builtin filter if additional types need to be
  991. # allowed or rejected from the RMI DGC.
  992. #
  993. # The builtin DGC filter can approximately be represented as the filter pattern:
  994. #
  995. #sun.rmi.transport.dgcFilter=\
  996. # java.rmi.server.ObjID;\
  997. # java.rmi.server.UID;\
  998. # java.rmi.dgc.VMID;\
  999. # java.rmi.dgc.Lease;\
  1000. # maxdepth=5;maxarray=10000
  1001. # CORBA ORBIorTypeCheckRegistryFilter
  1002. # Type check enhancement for ORB::string_to_object processing
  1003. #
  1004. # An IOR type check filter, if configured, is used by an ORB during
  1005. # an ORB::string_to_object invocation to check the veracity of the type encoded
  1006. # in the ior string.
  1007. #
  1008. # The filter pattern consists of a semi-colon separated list of class names.
  1009. # The configured list contains the binary class names of the IDL interface types
  1010. # corresponding to the IDL stub class to be instantiated.
  1011. # As such, a filter specifies a list of IDL stub classes that will be
  1012. # allowed by an ORB when an ORB::string_to_object is invoked.
  1013. # It is used to specify a white list configuration of acceptable
  1014. # IDL stub types which may be contained in a stringified IOR
  1015. # parameter passed as input to an ORB::string_to_object method.
  1016. #
  1017. # Note: This property is currently used by the JDK Reference implementation.
  1018. # It is not guaranteed to be examined and used by other implementations.
  1019. #
  1020. #com.sun.CORBA.ORBIorTypeCheckRegistryFilter=binary_class_name;binary_class_name
  1021. #
  1022. # JCEKS Encrypted Key Serial Filter
  1023. #
  1024. # This filter, if configured, is used by the JCEKS KeyStore during the
  1025. # deserialization of the encrypted Key object stored inside a key entry.
  1026. # If not configured or the filter result is UNDECIDED (i.e. none of the patterns
  1027. # matches), the filter configured by jdk.serialFilter will be consulted.
  1028. #
  1029. # If the system property jceks.key.serialFilter is also specified, it supersedes
  1030. # the security property value defined here.
  1031. #
  1032. # The filter pattern uses the same format as jdk.serialFilter. The default
  1033. # pattern allows java.lang.Enum, java.security.KeyRep, java.security.KeyRep$Type,
  1034. # and javax.crypto.spec.SecretKeySpec and rejects all the others.
  1035. jceks.key.serialFilter = java.lang.Enum;java.security.KeyRep;\
  1036. java.security.KeyRep$Type;javax.crypto.spec.SecretKeySpec;!*
  1037. # The iteration count used for password-based encryption (PBE) in JCEKS
  1038. # keystores. Values in the range 10000 to 5000000 are considered valid.
  1039. # If the value is out of this range, or is not a number, or is unspecified;
  1040. # a default of 200000 is used.
  1041. #
  1042. # If the system property jdk.jceks.iterationCount is also specified, it
  1043. # supersedes the security property value defined here.
  1044. #
  1045. #jdk.jceks.iterationCount = 200000
  1046. #
  1047. # Disabled mechanisms for the Simple Authentication and Security Layer (SASL)
  1048. #
  1049. # Disabled mechanisms will not be negotiated by both SASL clients and servers.
  1050. # These mechanisms will be ignored if they are specified in the "mechanisms"
  1051. # argument of "Sasl.createSaslClient" or the "mechanism" argument of
  1052. # "Sasl.createSaslServer".
  1053. #
  1054. # The value of this property is a comma-separated list of SASL mechanisms.
  1055. # The mechanisms are case-sensitive. Whitespaces around the commas are ignored.
  1056. #
  1057. # Note: This property is currently used by the JDK Reference implementation.
  1058. # It is not guaranteed to be examined and used by other implementations.
  1059. #
  1060. # Example:
  1061. # jdk.sasl.disabledMechanisms=PLAIN, CRAM-MD5, DIGEST-MD5
  1062. jdk.sasl.disabledMechanisms=
  1063. #
  1064. # Policies for distrusting Certificate Authorities (CAs).
  1065. #
  1066. # This is a comma separated value of one or more case-sensitive strings, each
  1067. # of which represents a policy for determining if a CA should be distrusted.
  1068. # The supported values are:
  1069. #
  1070. #
  1071. # SYMANTEC_TLS : Distrust TLS Server certificates anchored by a Symantec
  1072. # root CA and issued after April 16, 2019 unless issued by one of the
  1073. # following subordinate CAs which have a later distrust date:
  1074. # 1. Apple IST CA 2 - G1, SHA-256 fingerprint:
  1075. # AC2B922ECFD5E01711772FEA8ED372DE9D1E2245FCE3F57A9CDBEC77296A424B
  1076. # Distrust after December 31, 2019.
  1077. # 2. Apple IST CA 8 - G1, SHA-256 fingerprint:
  1078. # A4FE7C7F15155F3F0AEF7AAA83CF6E06DEB97CA3F909DF920AC1490882D488ED
  1079. # Distrust after December 31, 2019.
  1080. # Leading and trailing whitespace surrounding each value are ignored.
  1081. # Unknown values are ignored. If the property is commented out or set to the
  1082. # empty String, no policies are enforced.
  1083. #
  1084. # Note: This property is currently used by the JDK Reference implementation.
  1085. # It is not guaranteed to be supported by other SE implementations. Also, this
  1086. # property does not override other security properties which can restrict
  1087. # certificates such as jdk.tls.disabledAlgorithms or
  1088. # jdk.certpath.disabledAlgorithms; those restrictions are still enforced even
  1089. # if this property is not enabled.
  1090. #
  1091. jdk.security.caDistrustPolicies=SYMANTEC_TLS
  1092. #
  1093. # Policies for the proxy_impersonator Kerberos ccache configuration entry
  1094. #
  1095. # The proxy_impersonator ccache configuration entry indicates that the ccache
  1096. # is a synthetic delegated credential for use with S4U2Proxy by an intermediate
  1097. # server. The ccache file should also contain the TGT of this server and
  1098. # an evidence ticket from the default principal of the ccache to this server.
  1099. #
  1100. # This security property determines how Java uses this configuration entry.
  1101. # There are 3 possible values:
  1102. #
  1103. # no-impersonate - Ignore this configuration entry, and always act as
  1104. # the owner of the TGT (if it exists).
  1105. #
  1106. # try-impersonate - Try impersonation when this configuration entry exists.
  1107. # If no matching TGT or evidence ticket is found,
  1108. # fallback to no-impersonate.
  1109. #
  1110. # always-impersonate - Always impersonate when this configuration entry exists.
  1111. # If no matching TGT or evidence ticket is found,
  1112. # no initial credential is read from the ccache.
  1113. #
  1114. # The default value is "always-impersonate".
  1115. #
  1116. # If a system property of the same name is also specified, it supersedes the
  1117. # security property value defined here.
  1118. #
  1119. #jdk.security.krb5.default.initiate.credential=always-impersonate
  1120. #
  1121. # Trust Anchor Certificates - CA Basic Constraint check
  1122. #
  1123. # X.509 v3 certificates used as Trust Anchors (to validate signed code or TLS
  1124. # connections) must have the cA Basic Constraint field set to 'true'. Also, if
  1125. # they include a Key Usage extension, the keyCertSign bit must be set. These
  1126. # checks, enabled by default, can be disabled for backward-compatibility
  1127. # purposes with the jdk.security.allowNonCaAnchor System and Security
  1128. # properties. In the case that both properties are simultaneously set, the
  1129. # System value prevails. The default value of the property is "false".
  1130. #
  1131. #jdk.security.allowNonCaAnchor=true