In Firfox ESR 60.0.1 version cert9.db not getting updated
I have installed firefox esr 60.0.1 version and trying to update cert9.db file. its not getting updated. my cert8.db file is only getting updated. Please help. I have giveNSS_DEFAULT_DB_TYPE=sql value but still its not working.
running below cmd file.
Set FFProfdir=%Appdata%\mozilla\firefox\profiles Set CERTDIR=%TEMP%\CERTIMPORT DIR /A:D /B %FFProfdir% > "%TEMP%\FFProfile.txt"
FOR /F "tokens=*" %%i in (%TEMP%\FFProfile.txt) do (
CD /d "%FFProfDir%\%%i" COPY cert9.db cert9db.orig /y For %%x in ("%CERTDIR%\CERTS\*.cer") do "%CERTDIR%\certutil.exe" -A -n "%%x" -i "%%x" -t "TCu,TCu,TCu" -d . For %%x in ("%CERTDIR%\CERTS\*.crt") do "%CERTDIR%\certutil.exe" -A -n "%%x" -i "%%x" -t "TCu,TCu,TCu" -d . ) DEL /f /q "%Temp%\FFProfile.txt"
Alle antwurden (5)
Try to add the sql: prefix to the -d parameter (-d sql:.)
yes I already tried this option (-d sql:.)
getting an error
function failed:Security library:bad databse
has anyone imported certificates in esr 60.0.1 version?
Did you try with a fresh cert9.db in case the file got corrupted?
my cert.9 db gets automatically created. on first launch. And when I run the above cmd file only cer8.db gets updated. and if I delete cer8.db file and run CMD then new cert8.db gets created and gets updated also.
and if I manually import certificates from Mozilla then cer9.db gets updated. that's means it is not corrupted.