Carrying out procedures with the Public Administrations can be a real headache. Being in possession of an Electronic DNI or digital certificate should open all the doors of online public services, but sometimes, as in the Social Securityanother series of actions is needed.
One of them is to sign JNLP files in some procedures. If you have been stuck in this situation, we are going to tell you how to carry out the complete procedure.
What are JNLP files
JNLP is an acronym for Java Network Launching Protocol or Java Network Protocol Execution. Unlike others, JNLP files do not run inside a user’s web browser. These files are actually downloaded to a user’s computer and then run as normal Java applications.
In Firefox and Chrome, the user must accept the JNLP download and then run the downloaded file by clicking on the item shown in the download bar (bottom of the window). In Safari for Mac, when the JNLP is downloaded, it does not show the user any warning so that it can be executed by the JNLP. The user must open the downloads window and run the latest JNLP that was downloaded. In the case of Linux, it has not worked with any of the usual versions, neither for 64 bits nor for 32 bits.
Once downloaded, you will need a program to open it: Java Web Start. Once that is done, you would have to associate this extension with the program, so that it opens them in the future. This can be done in two ways: one is to manually edit the Windows Registry and keys HKEY_CLASSES_ROOT. The second way is simpler and definitely recommended for less advanced users.
- Right click on the unknown JNLP file you want to open.
- Select “Open With” from the menu.
- Click on “Choose another app”.
- Click on “More apps”.
- Click on “Look for more apps on this PC” and indicate the installation location of the appropriate program.
- Finally, select the “Always use the selected program to open JNLP files” option and confirm the whole operation.
Sign files for Social Security
Some Social Security procedures will require a digital signature using this file format. For security reasons, web pages do not execute JNLP files on the computer without the user’s consent, so the first step would be to authorize the download.
Once you have the JNLP file downloaded, as we have already associated the extension with the program, the signature process itself starts. In this, the system analyzes the security of the downloaded JNLP module, displaying a window with information on the security of the certificate with which the JNLP module itself was signed. This signature certifies the integrity and authenticity of the JNLP module.
After clicking on Execute, the certificate selection window will appear to perform the signature. We will need to select valid certificates from the system store or from a cryptographic card. Whichever one is chosen, make sure you choose the same one you selected when entering the web service. If there have been no incidents in the process, the document will be sent correctly.