diff --git a/pom.xml b/pom.xml
index e85204f..f069f21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,7 +54,7 @@
com.google.guava
guava
- 17.0
+ 19.0
me.yanaga
diff --git a/src/main/java/me/yanaga/opes/CertificadoDigital.java b/src/main/java/me/yanaga/opes/CertificadoDigital.java
index 89594ba..ac95591 100644
--- a/src/main/java/me/yanaga/opes/CertificadoDigital.java
+++ b/src/main/java/me/yanaga/opes/CertificadoDigital.java
@@ -9,9 +9,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -135,7 +135,7 @@ public static CertificadoDigital of(InputStream in, char[] password) {
Instant expiry = ((X509Certificate) certs[0]).getNotAfter().toInstant();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
- keyStore.store(baos, DEFAULT_CERTIFICATE_PASSWORD);
+ keyStore.store(baos, password);
return new CertificadoDigital(baos.toByteArray(), extractCnpj(certs), expiry, (PrivateKey) key, (X509Certificate[]) certs);
}