dcache icon indicating copy to clipboard operation
dcache copied to clipboard

dCacheView + X509 auth + Chrome: download asks again for cert

Open onnozweers opened this issue 4 years ago • 1 comments

Dear dCache devs,

As mentioned in https://github.com/dCache/dcache/issues/5883#issuecomment-831355159, using dCacheView with X509 auth in Chrome has a small peculiar issue: at the first file view or download in a session, the WebDAV door asks again for the certificate. Later views or downloads seem to remember the credentials because the certificate dialogue does not appear after the first view or download.

This is not a serious issue; only the first view or download in a session seems affected. But it may indicate that CORS does not work with this particular combination, and there might be consequences I can't see. However, I would understand if this issue is not serious enough to spend a lot of time on.

Opened a session with X509 auth:

Schermafbeelding 2021-05-05 om 10 31 23

Viewing a file:

Schermafbeelding 2021-05-05 om 10 31 38

The WebDAV door asks for a user certificate:

Schermafbeelding 2021-05-05 om 10 31 51

Chrome console info:

Schermafbeelding 2021-05-05 om 10 36 25

Schermafbeelding 2021-05-05 om 10 37 29

Schermafbeelding 2021-05-05 om 10 41 45

onnozweers avatar May 05 '21 09:05 onnozweers

The dCacheView and WebDAV definitions are listed in https://github.com/dCache/dcache/issues/5885.

onnozweers avatar May 05 '21 09:05 onnozweers