List ciphers used by JVM
'How Do I...' and 'How to...' Guide to Stash
- Configure Stash Logging
- Configuring the Mail Server to Use Gmail
- Connecting to named instances in SQL Server from Stash
- Disable default SSH algorithms
- Enable archive option on git repository
- Enable SQL query logging
- Generate a Thread Dump Externally
- How do I apply the default custom user and group avatars in Stash
- How do I change the default session timeout
- How do I disable Stash's internal authentication and delegate that to an external entity e.g. Kerberos authentication on Apache?
- How do I disable the remote create pull request message when pushing changes
- How do I find which users count against my Stash license?
- How Do I Generate/Extend Stash Evaluation License
- How do I use xinetd to forward port 22 for SSH connections to Stash
- How do you make changes on a specific commit
- How to Alter the Favicon in Stash
- How to configure an outbound HTTP and HTTPS proxy for Stash
- How to configure CAPTCHA in Stash
- How to count the number of files in a repository folder
- How to create a simple hook in Stash
- How to debug Out of Memory Heap Space
- How to disable delta compression on Stash server for a particular file type
- How to download a repository using Archive for Stash plugin API using command line
- How to Edit the Footer in Stash
- How to enable Google Analytics in Stash
- How to Enable UPM Safe Mode using UPM REST API
- How to find out failed login attempts
- How to read the Stash Log Formats
- How to Redirect Stash Traffic to Port 80 on Linux
- How to restore a deleted branch
- How to serve your Stash repo without using Stash
- How To Troubleshoot Application Link Issue between JIRA and Stash Using AppLinks Diagnostics Plugin
- How to View Detailed permissions for Stash directory
- List ciphers used by JVM
- Log more LDAP query details
- Log the original IP address when Stash is behind a load balancer
- Query for inactive or idle users
- Recommended Action plan if a Repository Becomes Corrupted on a Stash Server
- Redirect HTTP Requests to HTTPS
- Reindex JIRA issue keys
- Restore Stash's Administrator User
- Revert plugin or add-on to an older versions
- Securing Stash (using Tomcat) against Poodle Disabling SSLv3
These are instructions to list all the ciphers that the JVM has available to it when using secure connections.
List the ciphers
- Download the Ciphers.java program to a temporary location (e.g.
From the command line navigate to this location and run:
javac Ciphers.java java Ciphers
The command above will produce a list of ciphers that the JVM knows about.
To add other ciphers
You may need to have more ciphers in your JVM. For that, you need to download and install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JDK.
- Access http://www.oracle.com/technetwork/java/javase/downloads/index.html, search for JCE and download it.
- Make sure you are downloading the JCE for your JDK version.
- Unpack the download in a temporary location (e.g.
- Locate the
lib/securitydirectory inside your
JAVA_HOME. Depending on whether you're running a JDK or a JRE that would be
- Backup the local_policy.jar and US_export_policy.jar jars from that directory.
- Copy the local_policy.jar and US_export_policy.jar jars from the JCE policy files into your lib/security directory.
- Run java Ciphers again. More ciphers from you compatible ciphers list should be found now. If so, proceed with the next steps.
- Make sure the ciphers attribute is present in your
server.xml(as in Git clone fails with SSL routines:SSL23_GET_SERVER_HELLO).
- Restart Stash.
Last modified on Mar 30, 2022
Powered by Confluence and Scroll Viewport.