How to import a valid copy of your electronic certificate
Skip information indexWindows - Import a copy of the certificate into Internet Explorer
To import an electronic certificate into the browser, you need 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 Internet Explorer, go to "Tools" in the menu bar, or to the wheel icon in the upper right corner of the browser window, and then click "Internet Options."
In the "Content" tab, click the "Certificates" button.
In the "Personal" tab, press the "Import" button. The "Import Wizard" will then open. Click "Next".
Click "Browse" to go to the path where the copy of the certificate is saved.
Select the .pfx or .p12 file and press "Open". It is important to select the file type "Personal Information Exchange" from the drop-down menu in order to locate the copy. Click "Next" again.
If the copy was made with a password, you must indicate it and it is very important to also check the box "Mark this key as exportable..." so that, in case you need to obtain a backup copy of the certificate, you can export the private key. Click "Next" again.
Check "Automatically select the certificate store...". Click "Next" again, and then "Finish".
If the import was successful, the message "The import was successful" or "The import was completed successfully" will appear depending on the browser version and when the browser asks for identification, the certificate will appear in the selection window for authentication or signing.
Another option to import the certificate into Internet Explorer is to double-click on the copy; This will open the "Import Wizard" directly. If the operating system is higher than Windows 8, in the first step, you need to check "Current User". In this way, the certificate will be installed in the "Personal" tab, which is the correct location for the certificate to be able to correctly sign a procedure in the Electronic Office of the AEAT. The rest of the options that should be checked or left as default would be the same.
If the certificate copy 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 the "Personal" tab and will not be valid for accessing 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 need to request a new certificate.