搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

In Firfox ESR 60.0.1 version cert9.db not getting updated

  • 5 回覆
  • 2 有這個問題
  • 8 次檢視
  • 最近回覆由 siddhika

more options

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"

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"

所有回覆 (5)

more options

Try to add the sql: prefix to the -d parameter (-d sql:.)

more options

yes I already tried this option (-d sql:.)

getting an error

function failed:Security library:bad databse

more options

has anyone imported certificates in esr 60.0.1 version?

more options

Did you try with a fresh cert9.db in case the file got corrupted?

more options

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.