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

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

    <bug>
          <bug_id>32487</bug_id>
          
          <creation_ts>2016-09-09 16:26:31 +0300</creation_ts>
          <short_desc>Secure Connection Failed</short_desc>
          <delta_ts>2018-03-19 14:11:01 +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>firefox</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>https://bugzilla.redhat.com/show_bug.cgi?id=1377646</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Kornilov">hiddenman</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>aen</cc>
    
    <cc>cas</cc>
    
    <cc>lakostis</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
    
    <cc>rauty</cc>
    
    <cc>rider</cc>
    
    <cc>sbolshakov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158528</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2016-09-09 16:26:31 +0300</bug_when>
    <thetext>Приветствую.

На Firefox48.0.1 появилась странная проблема. Её нет больше нигде на данной версии FF, ни в Debian, ни в Ubuntu, ни в Windows.

При попытке соединения с некоторыми сайтами с самоподписанным сертификатом выдает ошибку:

Secure Connection Failed

An error occurred during a connection to xxx.xxx.ru. A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. Error code: SEC_ERROR_PKCS11_DEVICE_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.


У всех пользователей, кто использует P8 и FF48 из него, такая ошибка.  Гугл молчит.


Еще недавно на этом же FF было невозможно открыть сайты гугла, такая ошибка была у многих в сети, потом сама собой пропала каким-то образом.

Что это может быть, почему это проявляется только у нас?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158530</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2016-09-09 17:57:23 +0300</bug_when>
    <thetext>На Sisyphus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158531</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2016-09-09 18:06:20 +0300</bug_when>
    <thetext>У меня не воспроизводится. Надо проверять, нет ли каких pkcs11-плагинов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158537</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2016-09-10 01:10:02 +0300</bug_when>
    <thetext>Стоят pam_pkcs11-0.6.8-alt1.git20140828
libpkcs11-helper-1.12.0-alt2.git20140427

Вот тут у нас можно проверить, не открывается эта страница:
https://api.telecom13.ru/v2/user_auth</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158538</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2016-09-10 10:55:01 +0300</bug_when>
    <thetext>https://api.telecom13.ru/v2/user_auth не открывается - Sisyphus, firefox-48.0.2-alt1 

Из pkcs в системе только libpkcs11-helper-1.12.0-alt2.git20140427

Сообщение выглядит так:
Secure Connection Failed

An error occurred during a connection to api.telecom13.ru. A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. Error code: SEC_ERROR_PKCS11_DEVICE_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158544</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2016-09-11 19:13:13 +0300</bug_when>
    <thetext>Я всё ещё разбираюсь, но сломано не только у нас. Fedora также не хочет идти на этот сайт с SSL3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158549</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2016-09-12 11:27:23 +0300</bug_when>
    <thetext>В Ubuntu действительно работает, но:
```
firefox 48.0+build2-0ubuntu0.16.04.1

$ dpkg -l | grep nss3
ii libnss3:amd64 2:3.23-0ubuntu0.16.04.1 amd64 Network Security Service libraries
ii libnss3-1d:amd64 2:3.23-0ubuntu0.16.04.1 amd64 Network Security Service libraries - transitional package
ii libnss3-nssdb 2:3.23-0ubuntu0.16.04.1 all Network Security Security libraries - shared databases
```

У них старый nss.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158674</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2016-09-19 23:43:05 +0300</bug_when>
    <thetext>Не удалось найти, в чем дело?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158695</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2016-09-21 12:20:46 +0300</bug_when>
    <thetext>Вышла новая версия firefox и теперь она тоже сломана.

http://releases.mozilla.org/pub/firefox/releases/49.0/linux-x86_64/ru/firefox-49.0.tar.bz2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158696</commentid>
    <comment_count>9</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2016-09-21 12:22:03 +0300</bug_when>
    <thetext>(In reply to comment #8)
&gt; Вышла новая версия firefox и теперь она тоже сломана.
&gt; 
&gt; http://releases.mozilla.org/pub/firefox/releases/49.0/linux-x86_64/ru/firefox-49.0.tar.bz2

Сломана у нас с новым nss или у всех с любым nss?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158698</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2016-09-21 12:39:34 +0300</bug_when>
    <thetext>(In reply to comment #9)
&gt; Сломана у нас с новым nss или у всех с любым nss?

Проблема в NSS. Это апстримная проблема. По результатам моего расследования складывается впечатление, что на каких-то сайтах (вероятно, только на сайтах с слабым SSL [0]) включается FIPS, хотя его нет на машине.

Всё, что использует NSS определённым образом будет сломано т.е. оно уже сломалось у нас, в Fedora и думаю скоро сломается в Debian/Ubuntu. В Fedora сейчас также сломан curl т.к. он тоже использует NSS.

[0] https://www.ssllabs.com/ssltest/analyze.html?d=api.telecom13.ru</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158790</commentid>
    <comment_count>11</comment_count>
    <who name="Andrew Kornilov">hiddenman</who>
    <bug_when>2016-09-27 13:22:43 +0300</bug_when>
    <thetext>Приветствую.

Мы перенесли SSL на nginx и там оно заработало в FF почему-то.
Но проблема остается, теперь URL такой, там оставили старое: https://api.telecom13.ru:8443/v2/user_auth

Просьба в апстримном баге тоже комментарий добавить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169735</commentid>
    <comment_count>12</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2018-03-19 14:11:01 +0300</bug_when>
    <thetext>https://bugzilla.redhat.com/show_bug.cgi?id=1377646#c19

I&apos;ve checked the first 2 connections in the packet dump, in both cases the signature created by server is invalid - the hashes don&apos;t match the data exchanged.

So it&apos;s the server that is buggy, not the client.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>