JAVA EXAMPLE PROGRAMS

JAVA EXAMPLE PROGRAMS

Publish Your Article Here

How to merge two jssecacerts files? - Merge key store files


If your application is already configured with key store, and you are requested to add another domain to your key store, then you need to generate jssecacerts for your domain and merge it with existing jssecacerts file. In the previous example we have given details about how to generate key store (jssecacerts) for any domain.

Here is the command to merge two key stores:

						keytool -importkeystore -srckeystore jssecacerts_tmp -destkeystore jssecacerts
					

The above command requires key store password, by default the password is "changeit". It will prompt for merge confirmation many times. If you want to avoid prompting and merge without any confirmation, use below command which doesnot ask any confirmation:

						keytool -importkeystore -noprompt -srckeystore jssecacerts_tmp -destkeystore jssecacerts
					

blog comments powered by Disqus

Java problems and solutions

  1. Unable to install Java 7 in Eclipse on Mac - Java 7 Mac OS issues
  2. How to change Java (JVM) version in Mac OS? - Java version Mac OS issues
  3. SunCertPathBuilderException: Unable To Find Valid Certification Path To Requested Target
  4. How to merge two jssecacerts files? - Merge key store files
  5. How to write Micro-Benchmark for java Hotspot?
  6. servlet-api-2.5.jar - jar not loaded - tomcat error
  7. How to exclude property files in a jar using Maven
  8. ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
  9. CGLIB is required to process @Configuration classes
  10. Git command to list conflicted files
Knowledge Centre
What is adapter class?
An adapter class provides the default implementation of all methods in an event listener interface. Adapter classes are very useful when you want to process only few of the events that are handled by a particular event listener interface. You can define a new class by extending one of the adapter classes and implement only those events relevant to you.
Famous Quotations
When I do good, I feel good; when I do bad, I feel bad, and that is my religion.
-- Abraham Lincoln

About Author

Most Visited Pages

Other Interesting Sites

Reference: Java™ Platform Standard Ed. 7 - API Specification | Java is registered trademark of Oracle.
Privacy Policy | Copyright © 2017 by Nataraja Gootooru. All Rights Reserved.