|
Java example source code file (domains.cfg)
The domains.cfg Java example source code// domain containing a single keystore domain system { keystore truststore keystoreType="JKS" keystoreURI="${java.home}/lib/security/cacerts"; }; // domain containing two JKS keystores domain system_plus { keystore truststore keystoreType="JKS" keystoreURI="${java.home}/lib/security/cacerts"; keystore pw_keystore keystoreType="JKS" keystoreURI="${test.src}/pw.jks"; }; // domain containing a mixture of keystores domain keystores keystoreType="PKCS12" { keystore policy_keystore keystoreType="JKS" keystoreURI="${test.src}/../PolicyFile/Alias.keystore"; keystore pw_keystore keystoreType="CaseExactJKS" keystoreURI="${test.src}/pw.jks"; keystore eckeystore1 keystoreURI="${test.src}/../../pkcs11/ec/pkcs12/sect193r1server-rsa1024ca.p12"; keystore eckeystore2 keystoreURI="${test.src}/../../pkcs11/ec/pkcs12/secp256r1server-secp384r1ca.p12"; }; // domain containing a mixture of keystores domain keystores_tmp keystoreType="PKCS12" { keystore policy_keystore keystoreType="JKS" keystoreURI="${user.dir}/Alias.keystore_tmp"; keystore pw_keystore keystoreType="CaseExactJKS" keystoreURI="${user.dir}/pw.jks_tmp"; keystore eckeystore1 keystoreURI="${user.dir}/sect193r1server-rsa1024ca.p12_tmp"; keystore eckeystore2 keystoreURI="${user.dir}/secp256r1server-secp384r1ca.p12_tmp"; }; // domain where passwords are supplied via environment variables domain system_env keystoreType="JKS" keystorePasswordEnv="KEYSTORE_PWD" { keystore env_keystore keystoreURI="${test.src}/pw.jks"; keystore env_truststore keystoreURI="${java.home}/lib/security/cacerts" keystorePasswordEnv="TRUSTSTORE_PWD"; }; // empty domain domain empty keystoreType="JKS" keystoreProviderName="SUN" { keystore empty keystoreURI="${user.dir}/empty.jks"; }; Other Java examples (source code examples)Here is a short list of links related to this Java domains.cfg source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.