<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>25026</bug_id>
          
          <creation_ts>2011-02-04 16:21:32 +0300</creation_ts>
          <short_desc>java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty</short_desc>
          <delta_ts>2017-11-04 16:09:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>java-1.6.0-openjdk</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>25027</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="timonbl4@altlinux.org">timonbl4</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>jackie.rosen</cc>
    
    <cc>mithraen</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117958</commentid>
    <comment_count>0</comment_count>
    <who name="timonbl4@altlinux.org">timonbl4</who>
    <bug_when>2011-02-04 16:21:32 +0300</bug_when>
    <thetext>когда я пытаюсь залогиниться на e-bay с помощью jbidwatcher, которая запущена через java-1.6.0-openjdk, сыпятся ошибки такого типа:

javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at com.jbidwatcher.util.http.Http.receiveData(Http.java:168)
...
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1665)
...

но если запустить через java-1.6.0-sun - всё работает нормально...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117959</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-02-04 16:25:27 +0300</bug_when>
    <thetext>спасибо, буду смотреть.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117960</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-02-04 16:29:48 +0300</bug_when>
    <thetext>Добавлю, что это вылезает не только на jbidwatcher. Везде, где используется https (например, при попытке управления через Java консоль сервером с Intel RMM3).

jbidwatcher, который Тимур сегодня отправил в сизиф, это просто наиболее простой пример для воспроизведения.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117961</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-02-04 17:04:35 +0300</bug_when>
    <thetext>не удивительно, caserts, как оказалось, пустые.
в общем, этот баг надо починить правильно, т.е.
все-таки разобраться с нашими ca-sertificates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117963</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-02-04 17:09:02 +0300</bug_when>
    <thetext>А разве с ним какая-то проблема ? Насколько я знаю, уже давно все используют один пакет с сертификатами:
apt-cache whatdepends ca-certificates</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117965</commentid>
    <comment_count>5</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-02-04 17:13:42 +0300</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; А разве с ним какая-то проблема ? Насколько я знаю, уже давно все используют
&gt; один пакет с сертификатами:
&gt; apt-cache whatdepends ca-certificates
см.
https://bugzilla.altlinux.org/show_bug.cgi?id=25027</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117966</commentid>
    <comment_count>6</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-02-04 17:15:18 +0300</bug_when>
    <thetext>(В ответ на комментарий №5)
&gt; &gt; А разве с ним какая-то проблема ? Насколько я знаю, уже давно все используют
&gt; &gt; один пакет с сертификатами:
&gt; &gt; apt-cache whatdepends ca-certificates
&gt; см.
&gt; https://bugzilla.altlinux.org/show_bug.cgi?id=25027

я какое-то время с бубном вокруг плясал, но лучше уже сделать по-честному,
заодно закроется #17934 
(Нет сертификата ALT Linux в списке корневых сертификатов)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118419</commentid>
    <comment_count>7</comment_count>
    <who name="viy">viy</who>
    <bug_when>2011-02-15 17:53:39 +0300</bug_when>
    <thetext>&gt; я какое-то время с бубном вокруг плясал, но лучше уже сделать по-честному,

пока вопрос с https://bugzilla.altlinux.org/show_bug.cgi?id=25027
тянется, выложил java-1.6.0-openjdk-1.6.0.0-alt15_50.1.9.4jpp6.src.rpm
с хаком (подложил сертификаты из федоры).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166952</commentid>
    <comment_count>8</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-11-04 16:09:10 +0300</bug_when>
    <thetext>устарел</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>