Skip to main content

AutoFirma Troubleshooting on macOS Sonoma

Jose CerrejonAbout 2 minApple

AutoFirma Troubleshooting on macOS Sonoma

autofirma
AutoFirma installation on macOS

If you are a macOS user in Spain and need to access through Safari some page where the digital certificate is required, you may have had problems with AutoFirma. Come in and see how to fix the most common errors that occur when trying to access pages where a certificate is required in Safari on macOS Sonoma. Go ahead!.


Java Instalation

The first step in fixing autosign errors on macOS is to install Java. You can do this by downloading the installer from the official Oracle website, although I prefer to install a variant called Blue Zulu, which is faster and safer. Install the one you like, I leave you the links for architecture aarch64 below. Remember that with JRE (Java Runtime Environment) version is enough:

As an alternative, you can install OpenJDK via Homebrew:

brew install openjdk@21

There is nothing to highlight here. Install and you’re done. To make sure that Java is installed correctly, run the following command in the Terminal:

java -version
Azul Zulu in the Terminal
Don’t panic. Even if you see OpenJDK, it’s JRE in case of installing Azul Zulu

Autofirma instalation

The next step is to install Autosign. You can download the latest version from the official website.

Link: firmaelectronica.gob.es > Descargasopen in new window

Once you have downloaded the installer, double-click it to start the installation process.

sign not verified
Typical macOS... I need a tweak to always skip this message

Wow, first problem. Nothing happens. To the Terminal and run the following command:

xattr -d com.apple.quarantine $HOME/Downloads/AutoFirma_1_8_4_aarch64.pkg

Be careful, change 1_8_4 to the version you downloaded.

He won’t let me install it

As you know, you must give permission to the application again to install correctly, and if you do not see the message of permissions or it is shown for half a second and disappears, you have enabled auto login on users and groups. Disable it and try again. I went crazy fixing this error, but fifteen minutes of error trial and... Voilà!

permission error
You may encounter a permissions error when installing Autosignature

OK. So...What's the problem?

The problem with AutoSignature on macOS is not possible compatibility with the latest version of Java. It’s a question of certificates. If you have installed the operating system from scratch, you probably don’t have the necessary certificates installed for Autosign to work properly, and... Oh, surprise!. AutoFirma does not automatically install it in the installation process today, although it should.

Open the Keychain Access application and look for the AutoFirma ROOT and 127.0.0.1 autosign certificates. If you don’t see them, they are not installed. You can find them in your system folder at ~/Library/Application Support/AutoFirma. Double click and install it into the system part.

Capture Required Certificates installed
Damn it, certificates!...

You may also need to install the AC Root FNMT-RCM certificate that you can find hereopen in new window.

Ideally, the best thing now would be to double click on each of these certificates and select the option to trust them always.

Capture Certificates set to true
Yes to all

And that’s it. With these steps, you should be able to use AutoSign without problems on macOS Sonona. If not, write to me and I help you.