Good day everyone! I spent two weeks searching for how to get the private key for my certificate. Since I want to reinstall the system and this stopped me, not having the necessary pfx archive on hand.
In the end, I managed to find the jbcert utility, which solved this very easily, since I was already desperate and thought that Microsoft had closed this option. I looked at the detailed instructions here. I hope that this will help someone else too.