Comments (3)
Sorry for the delayed response. Today is my first day back from vacation. It may be another day or two before I get caught on regular job stuff, and work through the current issues.
from vault-java-driver.
Hello @steve-perkins,
is this enhancement prioritized ?.
thanks
from vault-java-driver.
Hello @steve-perkins ,
I have overridden SSL CONTEXT to have ROOT CA as trusted Assure. this will be return during SslConfig.build(). Please suggest you have any other thoughts on the same.
private static SSLContext ROOT_CA_SSL_CONTEXT;
static {
try {
ROOT_CA_SSL_CONTEXT = SSLContext.getInstance("TLS");
ROOT_CA_SSL_CONTEXT.init(null, new TrustManager[]{new X509TrustManager() {
@Override
public void checkClientTrusted(final X509Certificate[] x509Certificates, final String s) throws CertificateException {
}
@Override
public void checkServerTrusted(final X509Certificate[] x509Certificates, final String s) throws CertificateException {
}
@Override
public X509Certificate[] getAcceptedIssuers() {
X509Certificate[] x509Certificate = new X509Certificate[1];
InputStream inputStream = null;
try {
CertificateFactory fac = CertificateFactory.getInstance("X509");
inputStream = this.getClass().getResourceAsStream(ROOT_CA_PEM);
X509Certificate certificate = (X509Certificate) fac.generateCertificate(inputStream);
certificate.checkValidity();
x509Certificate[0]= certificate;
return x509Certificate;
} catch (Exception e) {
e.printStackTrace();
}finally {
try {
inputStream.close();
} catch (IOException e) {
e.printStackTrace();
}
}
return x509Certificate;
}
}}, new java.security.SecureRandom());
} catch (NoSuchAlgorithmException | KeyManagementException e) {
e.printStackTrace();
}
}
from vault-java-driver.
Related Issues (20)
- How to access data stored in Dyanmic Database
- Clarification on prefixPath HOT 1
- externalize integration test set up as seperate module
- Vault transit fails when engineVersion set to 2
- clarify relationship between http api path and read path HOT 1
- Using Transit service doesn't work for anything other than engine Version 1
- Authentication using certificate: curl working, but java driver is having issues HOT 1
- parseResponseData crashes and returns empty object (for 5.1.0)
- SSL connection reusage HOT 2
- NPE thrown when sslConfig not set.
- Can't get the resource for my .pem certificate HOT 1
- Question: Need documentation : How to use loginByGCP(), How to generate JWT token? HOT 1
- missing option exclude_cn_from_sans when requesting a signed certificate
- Better SSL configuration
- Support for non-blocking HTTP requests
- Is project dead? HOT 1
- Unable to use Logical read API
- Caused by: java.lang.NullPointerException: null at com.bettercloud.vault.rest.Rest.responseBodyBytes(Rest.java:519)
- Unable to retrieve config data from HC Vault in Scala
- clientKeyPemUTF8() doesn't support -----BEGIN RSA PRIVATE KEY----- header
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vault-java-driver.