Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Thu, 14 Mar 2024 21:53:28 UTC
Hello.

I'm trying to install Firefox from the ports on FreeBSD 13.3,but :

root@marietto-132:/usr/ports/security/nss # make MAKE_JOBS_UNSAFE=yes

......
/usr/ports/security/nss/work/nss-3.98/nss/cmd/shlibsign/FreeBSD13.3_OPT.OBJ/shlibsign
-v -i /usr/ports/security/nss/work/nss-3.98/nss/cmd/shlibsign/../../../dist/FreeBSD13.3_OPT.OBJ/lib/libsoftokn3.so

moduleSpec configdir='' certPrefix='' keyPrefix='' secmod=''
flags=noCertDB, noModDB

C_Initialize failed: 0x00000030, CKR_DEVICE_ERROR
NSPR error code: -5977: Failure to load dynamic library
Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR

NSPR error code: -5977: Failure to load dynamic library

gmake[4]: *** [Makefile:92:
../../../dist/FreeBSD13.3_OPT.OBJ/lib/libsoftokn3.chk] Error 1
gmake[4]: Leaving directory
'/usr/ports/security/nss/work/nss-3.98/nss/cmd/shlibsign'
gmake[3]: *** [Makefile:100: libs] Error 2
gmake[3]: Leaving directory
'/usr/ports/security/nss/work/nss-3.98/nss/cmd/shlibsign'
gmake[2]: *** [../coreconf/rules.mk:44: shlibsign] Error 2
gmake[2]: Leaving directory '/usr/ports/security/nss/work/nss-3.98/nss/cmd'
gmake[1]: *** [coreconf/rules.mk:44: cmd] Error 2
gmake[1]: Leaving directory '/usr/ports/security/nss/work/nss-3.98/nss'
gmake: *** [manifest.mn:21: all] Error 2
*** Error code 1

-- 
Mario.