I got the same problem after upgrading to Win11. On Win10 certificate worked, after upgrading message "After Private Key filter, 0 certs were left." appears.
My workaround was yust to reinstall my certificate (.pfx).