<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>232809</bug_id>
          
          <creation_ts>2021-11-08 00:31:33 -0800</creation_ts>
          <short_desc>REGRESSION (Safari 15): Safari keeps asking for client certificate, and polluting Keychain</short_desc>
          <delta_ts>2022-01-12 08:09:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>Safari 15</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=234314</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Seppo Laaksonen">Seppo.Laaksonen</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>achristensen</cc>
    
    <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1812547</commentid>
    <comment_count>0</comment_count>
    <who name="Seppo Laaksonen">Seppo.Laaksonen</who>
    <bug_when>2021-11-08 00:31:33 -0800</bug_when>
    <thetext>When accessing a site that requires a client certificate, Safari 15.0/15.1 keeps asking for the certificate over and over again and creates an entry for each URL to Keychain. The previous Safari versions cached the certificate and asked the vertificate only once when you had https://server.domain.com/ identity preference in the Keychain. 

The continuous asking for the certificate and the numerous entries in Keychain makes Safari 15.0/15.1 unusable for sites that require a client certificate.

How to produce the behavior:

- Set up a web server that requires client certificate. Apache config:
	SSLEngine on
	SSLVerifyClient require
	SSLVerifyDepth 1
	
	SSLCertificateFile    /etc/ssl/private/internal_server.crt
	SSLCertificateKeyFile /etc/ssl/private/internal_server.key

	SSLCACertificateFile /etc/ssl/private/internal_ca.crt
	SSLCertificateChainFile /etc/ssl/private/internal_ca.crt
- Access different URL&apos;s in the server</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1812674</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-11-08 10:12:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/85161182&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1812676</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2021-11-08 10:15:16 -0800</bug_when>
    <thetext>Are you seeing this issue on iOS or macOS or both?
Are the URLs all from https://server.domain.com/something or are there other hosts involved?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1812737</commentid>
    <comment_count>3</comment_count>
    <who name="Seppo Laaksonen">Seppo.Laaksonen</who>
    <bug_when>2021-11-08 11:47:53 -0800</bug_when>
    <thetext>This happens just on macOS. iOS devices work as expected. No change on the server. The issue came up when Safari was updated to 15.0. Safari 15.1 has the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1813518</commentid>
    <comment_count>4</comment_count>
    <who name="Seppo Laaksonen">Seppo.Laaksonen</who>
    <bug_when>2021-11-10 02:47:50 -0800</bug_when>
    <thetext>Tested with multiple servers and multiple macOS machines. 

Safari 14.1.2 works as expected, but when you run the updater to get 15.0 (or 15.1), the Safari keeps asking for the for the certificate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814690</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-11-12 16:54:53 -0800</bug_when>
    <thetext>&lt;rdar://83736480&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828659</commentid>
    <comment_count>6</comment_count>
      <attachid>448508</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2022-01-06 10:29:21 -0800</bug_when>
    <thetext>Created attachment 448508
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828663</commentid>
    <comment_count>7</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2022-01-06 10:34:37 -0800</bug_when>
    <thetext>I&apos;m unable to reproduce this issue with the description provided.  Perhaps there is something special about your certificate or keychain setup that was not described.  Perhaps there&apos;s something special about your website.  Any additional details would be much appreciated, ideally with a site and cert that reproduce the issue reliably.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828845</commentid>
    <comment_count>8</comment_count>
    <who name="Seppo Laaksonen">Seppo.Laaksonen</who>
    <bug_when>2022-01-07 01:16:04 -0800</bug_when>
    <thetext>A live setup to showcase the problem
====================================
1. Download the client certificate from https://mydbr.com/fileserve.php?get=safariuser.p12
2. Install it into your login keychain and trust the certificate
3. Access https://safaritest.mydbr.com and log into the application
4. Access the reports (browse through different URLs) in the application. Safari will pop up the question about the client certificate every now and then
5. Notice Safari populating certificate preferences into the keychain with entries for each URL. This used not to be the case when you had one ending with a slash in earlier versions of Safari (https://safaritest.mydbr.com/).


How to create the setup
=======================
Server running Apache 2.4.29. (Ubuntu in this case)

Safari Version 15.2 (16612.3.6.1.8, 16612)

Create self-signed certificate and a client certificate:

Certificate Authority (CA)
--------------------------
openssl genrsa -out safaritest_ca.key 2048
openssl req -new -sha256 -key safaritest_ca.key -out safaritest_ca.csr
openssl x509 -req -days 365 -sha256 -in safaritest_ca.csr -signkey safaritest_ca.key -out safaritest_ca.crt


Web Server Certificate
----------------------
openssl genrsa -out safaritest_server.key 2048
openssl req -new -sha256 -key safaritest_server.key -out safaritest_server.csr
openssl x509 -req -days 365 -sha256 -in safaritest_server.csr -signkey safaritest_server.key -out safaritest_server.crt

Create a Client Certificate
---------------------------
openssl req -newkey rsa:2048 -days 365 -nodes -keyout safariuser-key.pem &gt; safariuser-req.pem
openssl x509 -req -in  safariuser-req.pem -days 365 -CA safaritest_ca.crt -CAkey safaritest_ca.key -set_serial 01 &gt; safariuser-cert1.pem
openssl pkcs12 -export -in safariuser-cert1.pem -inkey safariuser-key.pem -out safariuser.p12


The Apache config for the site
------------------------------

&lt;VirtualHost *:443&gt;
	ServerName safaritest.mydbr.com
	ServerAdmin support@mydbr.com

	SSLEngine on
	SSLVerifyClient require
	SSLVerifyDepth 1
	
	SSLCertificateFile    /etc/ssl/private/safaritest_server.crt
	SSLCertificateKeyFile /etc/ssl/private/safaritest_server.key
	SSLCACertificateFile /etc/ssl/private/safaritest_ca.crt

	DocumentRoot /var/www/safaritest
	&lt;Directory /&gt;
		Options FollowSymLinks
		AllowOverride All
	&lt;/Directory&gt;
	&lt;Directory /var/www/internal&gt;
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Require all granted
	&lt;/Directory&gt;

	ErrorLog /var/log/apache2/safaritest_error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/safaritest_access.log combined

	&lt;FilesMatch &quot;\.(cgi|shtml|phtml|php)$&quot;&gt;
		SSLOptions +StdEnvVars
	&lt;/FilesMatch&gt;
&lt;/VirtualHost&gt;


The problem looks like to be related (just a guess) to the fact that Safari seems to forget the certificate and asks it again at random times. This happens when you access different URLs in the site.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829823</commentid>
    <comment_count>9</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-11 09:19:55 -0800</bug_when>
    <thetext>(In reply to Seppo Laaksonen from comment #8)
&gt; A live setup to showcase the problem
&gt; ====================================
&gt; 1. Download the client certificate from
&gt; https://mydbr.com/fileserve.php?get=safariuser.p12
&gt; 2. Install it into your login keychain and trust the certificate
&gt; 3. Access https://safaritest.mydbr.com and log into the application
&gt; 4. Access the reports (browse through different URLs) in the application.
&gt; Safari will pop up the question about the client certificate every now and
&gt; then
&gt; 5. Notice Safari populating certificate preferences into the keychain with
&gt; entries for each URL. This used not to be the case when you had one ending
&gt; with a slash in earlier versions of Safari (https://safaritest.mydbr.com/).
&gt; 
&gt; 
&gt; How to create the setup
&gt; =======================
&gt; Server running Apache 2.4.29. (Ubuntu in this case)
&gt; 
&gt; Safari Version 15.2 (16612.3.6.1.8, 16612)
&gt; 
&gt; Create self-signed certificate and a client certificate:
&gt; 
&gt; Certificate Authority (CA)
&gt; --------------------------
&gt; openssl genrsa -out safaritest_ca.key 2048
&gt; openssl req -new -sha256 -key safaritest_ca.key -out safaritest_ca.csr
&gt; openssl x509 -req -days 365 -sha256 -in safaritest_ca.csr -signkey
&gt; safaritest_ca.key -out safaritest_ca.crt
&gt; 
&gt; 
&gt; Web Server Certificate
&gt; ----------------------
&gt; openssl genrsa -out safaritest_server.key 2048
&gt; openssl req -new -sha256 -key safaritest_server.key -out
&gt; safaritest_server.csr
&gt; openssl x509 -req -days 365 -sha256 -in safaritest_server.csr -signkey
&gt; safaritest_server.key -out safaritest_server.crt
&gt; 
&gt; Create a Client Certificate
&gt; ---------------------------
&gt; openssl req -newkey rsa:2048 -days 365 -nodes -keyout safariuser-key.pem &gt;
&gt; safariuser-req.pem
&gt; openssl x509 -req -in  safariuser-req.pem -days 365 -CA safaritest_ca.crt
&gt; -CAkey safaritest_ca.key -set_serial 01 &gt; safariuser-cert1.pem
&gt; openssl pkcs12 -export -in safariuser-cert1.pem -inkey safariuser-key.pem
&gt; -out safariuser.p12
&gt; 
&gt; 
&gt; The Apache config for the site
&gt; ------------------------------
&gt; 
&gt; &lt;VirtualHost *:443&gt;
&gt; 	ServerName safaritest.mydbr.com
&gt; 	ServerAdmin support@mydbr.com
&gt; 
&gt; 	SSLEngine on
&gt; 	SSLVerifyClient require
&gt; 	SSLVerifyDepth 1
&gt; 	
&gt; 	SSLCertificateFile    /etc/ssl/private/safaritest_server.crt
&gt; 	SSLCertificateKeyFile /etc/ssl/private/safaritest_server.key
&gt; 	SSLCACertificateFile /etc/ssl/private/safaritest_ca.crt
&gt; 
&gt; 	DocumentRoot /var/www/safaritest
&gt; 	&lt;Directory /&gt;
&gt; 		Options FollowSymLinks
&gt; 		AllowOverride All
&gt; 	&lt;/Directory&gt;
&gt; 	&lt;Directory /var/www/internal&gt;
&gt; 		Options Indexes FollowSymLinks MultiViews
&gt; 		AllowOverride All
&gt; 		Require all granted
&gt; 	&lt;/Directory&gt;
&gt; 
&gt; 	ErrorLog /var/log/apache2/safaritest_error.log
&gt; 
&gt; 	# Possible values include: debug, info, notice, warn, error, crit,
&gt; 	# alert, emerg.
&gt; 	LogLevel warn
&gt; 
&gt; 	CustomLog /var/log/apache2/safaritest_access.log combined
&gt; 
&gt; 	&lt;FilesMatch &quot;\.(cgi|shtml|phtml|php)$&quot;&gt;
&gt; 		SSLOptions +StdEnvVars
&gt; 	&lt;/FilesMatch&gt;
&gt; &lt;/VirtualHost&gt;
&gt; 
&gt; 
&gt; The problem looks like to be related (just a guess) to the fact that Safari
&gt; seems to forget the certificate and asks it again at random times. This
&gt; happens when you access different URLs in the site.

It asks for a password when I try to install the certificate at https://mydbr.com/fileserve.php?get=safariuser.p12

I do know know what the password is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829826</commentid>
    <comment_count>10</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-11 09:22:03 -0800</bug_when>
    <thetext>It might be the same as Bug 234314 which I fixed recently (hasn&apos;t shipped yet) but I haven&apos;t been able to confirm since I haven&apos;t been able to reproduce yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829827</commentid>
    <comment_count>11</comment_count>
    <who name="Seppo Laaksonen">Seppo.Laaksonen</who>
    <bug_when>2022-01-11 09:24:24 -0800</bug_when>
    <thetext>Ah, sorry about that. The password is &apos;pass&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829829</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-11 09:37:02 -0800</bug_when>
    <thetext>(In reply to Seppo Laaksonen from comment #11)
&gt; Ah, sorry about that. The password is &apos;pass&apos;.

It looks like I can now reproduce with my System Safari. I am investigating. Thanks for the test server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829835</commentid>
    <comment_count>13</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-11 10:04:45 -0800</bug_when>
    <thetext>(In reply to Chris Dumez from comment #12)
&gt; (In reply to Seppo Laaksonen from comment #11)
&gt; &gt; Ah, sorry about that. The password is &apos;pass&apos;.
&gt; 
&gt; It looks like I can now reproduce with my System Safari. I am investigating.
&gt; Thanks for the test server.

I can still reproduce with a local WebKit trunk build so this is definitely not fixed yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1830128</commentid>
    <comment_count>14</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-01-12 08:09:12 -0800</bug_when>
    <thetext>This is a Safari bug and the issue was fixed on the Safari side.
Thank you for the bug report and the reproduction case.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>448508</attachid>
            <date>2022-01-06 10:29:21 -0800</date>
            <delta_ts>2022-01-06 19:48:09 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-232809-20220106102920.patch</filename>
            <type>text/plain</type>
            <size>5144</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg3NjUzCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNDIwMGNjY2Y1ZDIwODEyZmNlOWMxMTlhNzJlYmYwODQ1
M2JiZGQxYS4uZjFmOTc0YmMzYmNlNmExNjUxNzI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2UoaSkgfSwgaSAqIDEwMCk7Cisg
ICAgICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAgICAgICB9CisgICAgICAgICAgICAgICAg
ZnVuY3Rpb24gYWRkSW1hZ2UoaSkgeworICAgICAgICAgICAgICAgICAgICB2YXIgaW1nID0gZG9j
dW1lbnQuY3JlYXRlRWxlbWVudCgnaW1nJyk7CisgICAgICAgICAgICAgICAgICAgIGltZy5zcmMg
PSBpICsgJy5wbmcnOworICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJ
ZCgncGFyYWdyYXBoJykuYXBwZW5kQ2hpbGQoaW1nKTsKKyAgICAgICAgICAgICAgICB9CisgICAg
ICAgICAgICAgICAgPC9zY3JpcHQ+CisgICAgICAgICAgICAgICAgPGJvZHkgb25sb2FkPSJhZGRJ
bWFnZXMoKSI+PHAgaWQ9J3BhcmFncmFwaCcvPjwvYm9keT4KKyAgICAgICAgICAgIClIVE1MIjsK
KyAgICAgICAgICAgIGNvbm5lY3Rpb24uc2VuZChIVFRQUmVzcG9uc2Uoe3sgIkNvbnRlbnQtVHlw
ZSIsICJ0ZXh0L2h0bWwiIH19LCBodG1sKS5zZXJpYWxpemUoKSwgWz1dIHsKKyAgICAgICAgICAg
ICAgICBzZXJ2ZXJMb29wKGNvbm5lY3Rpb24pOworICAgICAgICAgICAgfSk7CisgICAgICAgICAg
ICByZXR1cm47CisgICAgICAgIH0KKyAgICAgICAgZGlzcGF0Y2hfYWZ0ZXIoZGlzcGF0Y2hfdGlt
ZShESVNQQVRDSF9USU1FX05PVywgMC41ICogTlNFQ19QRVJfU0VDKSwgZGlzcGF0Y2hfZ2V0X21h
aW5fcXVldWUoKSwgXnsKKyAgICAgICAgICAgIGNvbm5lY3Rpb24uc2VuZChIVFRQUmVzcG9uc2Uo
ImhpIikuc2VyaWFsaXplKCksIFs9XSB7CisgICAgICAgICAgICAgICAgc2VydmVyTG9vcChjb25u
ZWN0aW9uKTsKKyAgICAgICA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XRlKGxpc3RlbmVyUGFyYW1ldGVycyhwcm90b2NvbCwgV1RGTW92ZSh2ZXJpZmllciks
IG51bGxwdHIsIHsgfSkuZ2V0KCkpKSkKICAgICAsIG1fcHJvdG9jb2wocHJvdG9jb2wpCiB7CiAg
ICAgbndfbGlzdGVuZXJfc2V0X3F1ZXVlKG1fbGlzdGVuZXIuZ2V0KCksIGRpc3BhdGNoX2dldF9t
YWluX3F1ZXVlKCkpOwo=
</data>
<flag name="commit-queue"
          id="474441"
          type_id="3"
          status="-"
          setter="ews-feeder"
    />
          </attachment>
      

    </bug>

</bugzilla>