I work on Ubuntu 19. I have a .crt and a key file. I want to test my web app on https localhost.
I wanted to add crt file to Chrome (settings > advanced > manage certificates -> import ). So I tried to import the .crt file but I got is this:
"Certificate Import Error : The Private Key for this Client Certificate is missing or invalid"
I googled it, but I found nothing helpful.
I have also built the .pfx file (from .crt and key files) and imported it on chrome but I have error: "Your connection is not private"
I have also tested it by Firefox and Opera and get the same error.