keytool -importkeystore -srckeystore localhost.jks -destkeystore serverKeystore.jks -deststoretype JKS -alias localhost -srcstorepass changeit -deststorepass changeit
When promptged to overwrite exiting key, select yes.
Start DDF.
You are ready to go. Try logging into the admin console to verify it worked.
Here are some quickie instructions to get you up and running in the short-term. It puts a valid certificate for "localhost" into your keystore.
- Copy the attached file (localhost.jks) to your etc/keystores directory under your DDF home directory.
- Open a terminal and change the etc/keystores directory
- Execute this command:
keytool -importkeystore -srckeystore serverKeystore.jks -destkeystore localhost.jks -deststoretype JKS -alias localhost -srcstorepass changeit -deststorepass changeit
Start DDF
Hi Sunny, just wanted to provide you some insight on the keytool error you were getting below. As mentioned before if you download the latest certs you won’t need to do this step.
You are having this problem because keytool is not in your path (this command lives in the JAVA_HOME/bin directory). So you can add JAVA_HOME/bin to your path, or if JAVA_HOME is set as an env variable you can do $JAVA_HOME/bin/keytool from the command line, or you can just put the complete path in the command line when you execute the keytool command.
From: ddf-dev...@googlegroups.com [mailto:ddf-dev...@googlegroups.com]
On Behalf Of Sunny Sun
Sent: Monday, December 14, 2015 1:53 PM
To: ddf-developers <ddf-dev...@googlegroups.com>
Subject: Re: java.security.cert.CertificateExpiredException: NotAfter: Thu Dec 10 16:58:18 EST 2015
Hello,
I am using Window 7 command console.
I have same "Certification Error" issue. I followed the steps and I got the 'keytool' is not recognized as an internal or external command, operable program or batch file after trying to run "keytool -importkeystore -srckeystore localhost.jks -destkeystore serverKeystore.jks -deststoretype JKS -alias localhost -srcstorepass changeit -deststorepass changeit".
Did I miss any step?
Please advise. Thanks.
Sunny
On Friday, December 11, 2015 at 10:52:17 AM UTC-5, Aaron Hoffer wrote:
Here are some quickie instructions to get you up and running in the short-term. It puts a valid certificate for "localhost" into your keystore.
- Copy the attached file (localhost.jks) to your etc/keystores directory under your DDF home directory.
- Open a terminal and change the etc/keystores directory
- Execute this command:
keytool -importkeystore -srckeystore localhost.jks -destkeystore serverKeystore.jks -deststoretype JKS -alias localhost -srcstorepass changeit -deststorepass changeit
4. When promptged to overwrite exiting key, select yes.
5. Start DDF.
6. You are ready to go. Try logging into the admin console to verify it worked.