Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7028490

better suggestion for jarsigner when TSA is not accessible

    Details

    • Subcomponent:
    • Resolved In Build:
      b138
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      When a TSA is not accessible, jarsigner would print out:

      jarsigner: unable to sign jar: no response from the Timestamping Authority. When connecting from behind a firewall then an HTTP proxy may need to be specified. Supply the following options to jarsigner:
        -J-Dhttp.proxyHost=<hostname>
        -J-Dhttp.proxyPort=<portnumber>

      In fact, most TSAs are behind SSL, and I've already seen several customers complaining the system properties do not work. In this case, they should be https.proxyHost and https.proxyPort.

        Activity

        Show
        weijun Weijun Wang added a comment - BT2:EVALUATION http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c43811a602a8
        Hide
        weijun Weijun Wang added a comment -
        BT2:EVALUATION

        Changed to:

        jarsigner: unable to sign jar: no response from the Timestamping Authority. When connecting from behind a firewall an HTTP or HTTPS proxy may need to be specified. Supply the following options to jarsigner:
          -J-Dhttp.proxyHost=<hostname>
          -J-Dhttp.proxyPort=<portnumber>
        or
          -J-Dhttps.proxyHost=<hostname>
          -J-Dhttps.proxyPort=<portnumber>
        Show
        weijun Weijun Wang added a comment - BT2:EVALUATION Changed to: jarsigner: unable to sign jar: no response from the Timestamping Authority. When connecting from behind a firewall an HTTP or HTTPS proxy may need to be specified. Supply the following options to jarsigner:   -J-Dhttp.proxyHost=<hostname>   -J-Dhttp.proxyPort=<portnumber> or   -J-Dhttps.proxyHost=<hostname>   -J-Dhttps.proxyPort=<portnumber>

          People

          • Assignee:
            weijun Weijun Wang
            Reporter:
            weijun Weijun Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Imported:
              Indexed: