Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-62540

Improvement on the error message when using wrong keystore type

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • None
    • 1
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      When user is using PFX keystore type but JIRA is throwing an error message below:

      14-Sep-2016 14:30:34.884 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-bio-xxxx"]java.io.IOException: Failed to load keystore type JKS with path \\xxx\xxx\xxx\xxx.pfx<file://xxx/xxx/xx/xx.pfx> due to Illegal character in path at index 0: \\xx\xx\xx\xx.pfx<file://xx/xx/xx/xx.pfx>
      
      

      The error messages in the log said it was 'due to Illegal character in path at index 0' which can't be true because it vanished when the correct keystoreType was entered.

      Suggested Solution

      Improve the error message to more specific like "wrong keystore type configured in server.xml"

      Workaround

      How to run JIRA over HTTPS with a Personal Information Exchange (PFX) Certificate

              Unassigned Unassigned
              ckimloong John Chin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: