diff --git a/Makefile.am b/Makefile.am
index 1a6945598f2a6fe8a7e71f84940c8d2b7023d142..9adb8dafe55ab37251128711e081529e8c9fbb9f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -138,6 +138,6 @@ ca-bundle: lib/mk-ca-bundle.pl
 	@echo "generate a fresh ca-bundle.crt"
 	@perl $< -b -l -u lib/ca-bundle.crt
 
-ca-firefox: lib/db2pem.sh
+ca-firefox: lib/firefox-db2pem.sh
 	@echo "generate a fresh ca-bundle.crt"
 	./lib/firefox-db2pem.sh lib/ca-bundle.crt
diff --git a/Makefile.dist b/Makefile.dist
index 26005eaee5150c3e8cc0797c8d59272bcddc9089..a39e0edf5994e83f74a78ad1ee146c9b8eb49480 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -265,6 +265,6 @@ ca-bundle: lib/mk-ca-bundle.pl
 	@echo "generate a fresh ca-bundle.crt"
 	@perl $< -b -l -u lib/ca-bundle.crt
 
-ca-firefox: lib/db2pem.sh
+ca-firefox: lib/firefox-db2pem.sh
 	@echo "generate a fresh ca-bundle.crt"
 	./lib/firefox-db2pem.sh lib/ca-bundle.crt