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
Inner class and Anonymous class
Inner class: classes defined in other classes, including those defined in methods are called inner classes. An inner class can have any accessibility including private.

Anonymous class: Anonymous class is a class defined inside a method without a name and is instantiated and declared in the same place and cannot have explicit constructors.
Famous Quotations
Before you go and criticize the younger generation, just remember who raised them.
-- Unknown Author

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.