How to import a valid copy of your electronic certificate
Skip information indexWindows - Import a copy of the certificate in Google Chrome
To import an electronic certificate into the browser, it is necessary to have a valid copy of it. The icon for a valid copy is an open envelope with a green certificate sticking out and a key, with the file extension .pfx or .p12. If you can't see the extension, right click on the certificate icon and go to "Properties".
In Google Chrome, access the "Customize and control Google Chrome" menu, at the end of the address bar identified with the three vertical dots icon, and enter "Settings."
Click on "Privacy and security" on the left, then go to "Security" and click "Manage certificates" at the bottom.
Press the "Import" button in the "Personal" tab.
The "Import Wizard" then opens. Press "Next."
Click "Browse" to go to the path where the copy of your certificate is saved.
Select the .pfx or .p12 file and press "Open." It is important to choose the type of file "Exchange of personal information" from the drop-down menu to be able to locate the copy. Click "Next" again.
If the copy was made with a password, you must enter it (if it does not ask for one, you can leave it blank) and it is very important to also check the box "Mark this key as exportable..." so that, if you need to obtain a backup copy from the certificate you can export the private key. Press "Next" again.
Check that the "Automatically select certificate store..." option is checked. Press "Next" again and, finally, "Finish."
If the import has been successful, the message "The import was successful" or "The import was completed successfully" will appear depending on the browser version and when the browser requests identification, the certificate will appear in the selection window for authentication or signature. .
If the copy of the certificate is not valid (the icon is a green certificate and there is no key; the file extension is .cer) is because when exporting it, the "Export the private key" box was not checked, which is the personal information that the certificate contains and without which it is not possible to sign. If the copy is not valid, it will be installed in the "Other people" tab instead of in the "Personal" tab and it would not be valid to access the procedures on the AEAT website.
If the certificates do not allow you to work normally, it will not be possible to make a correct copy or request its renewal via the Internet. If you do not have a valid copy you will have to request a new certificate.