Install certificate using certutils.exe in firefox

Hi ,
I have compiled the NSS and other dll's and now i have a certutils.exe file.
I want to install rootCA and client certificate for firefox using this utility...my client certificate has got a password too with pfx format.
So can some one please help me in finding out the exact command to install these cert to firefox.

Try to ask advice in the news group mentioned in the MDN article (mozilla.dev.tech.crypto)
*https://developer.mozilla.org/NSS/Tools
*https://developer.mozilla.org/NSS/tools/NSS_Tools_certutil

Similar Messages

  • CS3 how to single part instlled? please install photoshop using setup.exe.

    I have question, I used "Create Suite 3 Web Plem Version."
    is possible not suites setup ? only part(s) setup supported?
    \Adobe CS3\payloads\AdobePhotoshop10en_US
    I want to only installed Photoshop first, used dobule-click  " AdobePhotoshop10en_US.msi", but said: please install photoshop using setup.exe.
    how to single part instlled?
    use CS3 license key ? or 30days mode?
    please

    There is nothing called part installer using Suite installer. However, you can only Photosohp or any other application using Suite installer. Just launch setup.exe and in the Options screen, select custom install and then uncheck all other apps than Photoshop. Continue installation which should install only Photoshop.
    Thanks,
    Tahseen

  • Importing .p7b certificates using certutil does not work, but work with IE. I need to automatize certificate installation. Help!

    Hello,
    I have to add a trusted certificate authority to XP machines to allow use of mail via OWA.
    There is a domain, but there are too remote machines which are not in the domain (and it's on them I'm experiencing the problem).
    Domain sysdmin sent me the .P7B certificate, which I can load withour problem using import with IE. The certificate is stiored in the Trusted Root Certificate Authorities and it's all ok.
    But I need to automatize the certificate import due to the hifg number of these clients as well as the linbe spped (very slow graphic), so I found the certutil utility.
    I've tried with several commands (like "certutil -f -v -addstore root filename.p7b"  or "certutil -enterprise -f -addstore NTAuth filename.p7b" and several variants), but the utility always said that the certificate is correctly imported, but when checking
    with the MMC console I can't find it (and, by the way, trying to load again results in also being notified that the certificate is already loaded!), so all the stuf does not work.
    What should I do to be able to import the .P7B in Trusted Root Certificate using command line (.bat file, of course)?
    Many thanks in advance for any help!
    Max

    Hi,
    As i can understand you want to import a .p7b file which is a chain of certificates. And certutil is not working.
    I too had the same issue. After searching and thinking the alternatives for hours, got a solution which worked for me. Here is it.
    Get certmgr.exe tool available with MS .net framework tools.
    Try adding this to your batch file
    certmgr -add -all -c "File.p7b" -s -r localMachine Root
    where File.p7b is the file containing certificates. You can replace the name with your file name.
    Check if its working.
    Thanks,
    Reyaz

  • Where can I download certutil.exe for firefox to manage certs

    So far, i have not been able to find a single link that offers a certutil.exe available for a download. Everyone has pointed to this link
    https://www.felixrr.pro/archives/165/mozilla-nss-utils-with-nspr-compiled-for-download
    or this one
    https://support.mozilla.org/en-US/questions/687296
    but none of these links had what i am looking for.
    I need certutil.exe compiled with all the .dll's and usable under windows 7 x64 bit.
    PLEASE HELP!

    Hi Bailbravo,
    This doesn't appear to be a question that is directly related to Firefox, so it's probably not the best place to look for help specific to this issue.
    I found a couple of links that may be related -
    * [http://blogs.technet.com/b/pki/archive/2013/03/08/certutil-and-certreq.aspx]
    * [http://technet.microsoft.com/en-us/library/cc732443.aspx]
    If you still have problems, you may look for developer specific forums like [http://stackoverflow.com/ Stackoverflow]. We hope this helps.
    Thanks!!
    - Ralph

  • Firefox cannot be found inside the Program Files (x86) when using the shortcut or the actual .exe. I also tried using Regedit.exe and firefox was not there. How do I fix this?

    After I get the error message "Windows cannot find C:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I proceeded to use the Regedit solution but the file was not inside the Image File Executable Options folder. The only file inside of there was iexplorer.exe.

    #Go to [http://www.mozilla.com/en-US/firefox/fx/?ref=logo Download Firefox 4.0.1] and download the installation file to your desktop. You can use Safari to do that, but don't choose to run it.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (''don't checkmark the box''). If you don't see it anywhere, then it's not installed.<br><br>
    #Assuming it is though, reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>

  • Cannot install flash, using latest version of Firefox

    Hi computer noob here.
    OS Windows Vista 16b , Browser Firefox V 3.6.23
    Im having a couple of problems with adobe at the moment, first of all when I tried to install flash on a friends lap top today it downloaded a DLM , then when thats installed it does nothing, I still have no flash, then I go back to adobe and try to download again and it keeps telling me I need to install a missing plug in so it can download....when I click on "install missing plug in" it says adobe can not download the missing plug in, it gives me the option to download it manually but when I try that it asks me to find a programme to open it with? Seems like something is not working as it should be, please help!! Why cant I just go to adobe with Firefox , click download and restart my browser, that would be so much easier lol
    Second problem , OS Windows XP
    Second problem im having for the past week is I cannot connect to adobe to update my adobe reader, It keeps telling me that it cant connect to the server , and it just keeps timing out? Is there a problem with readers latest install because I tried to update another friends comp too and I had the same problem
    Thanks for the help

    Flash Player: don't use the DLM - it causes nothing but trouble!  Download the executable installers from http://www.adobe.com/products/flashplayer/fp_distribution3.html
    Adobe Reader: I don't know why the Updater doesn't work; download the latest Reader version directly from http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.4.0/en_US/AdbeRdr940_en_US.exe

  • Cookbook for creating Self Signed Certificates using certutil

    Hi,
    I am trying to create a self signed certifcate for internal use. Can anyone point to a step by step procedure? The few that I have found on the web don't seem to work.
    Thanks
    david

    Check out the examples at the bottom of this page:
    http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html

  • How to import Root CA certificate (Firefox 22)on windows using certutil? what are the dlls required?

    I was using certutil from my application to import root CA certificate, but it it started complaining about missing dlls after Firefox 18. What are the dlls required.
    It will be appreciable if some one can give the code of Firefox (What they use), to import root CA certificates.
    Thanks

    I found the following with a google search. Hope it helps.
    *https://support.mozilla.org/questions/955513 How to add a private SSL root certificate authority
    *https://support.mozilla.org//questions/952035 Where can I download certutil.exe and the NSS Utils for Windows
    *https://www.felixrr.pro/archives/165/mozilla-nss-utils-with-nspr-compiled-for-download
    *http://wiki.cacert.org/FAQ/BrowserClients#Mozilla_Firefox

  • Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?

    Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?
    Scenario: We have a few legacy certificates based on some legacy templates (2012 R2). Some belong to an old SubCA (2008 R2).
    I’ve can manually export them using certmgr mmc on the local machine to a single .p7b e.g.
    cert_backupNEW.p7b. But this is not a practical solution for me and I want to achieve this remotely via certutil or some other util that comes with Windows 7 machines.
    I’ve already worked out how to run a certutil command to add the certs back into the store e.g.
    certutil.exe -addstore -f my cert_backupNEW.p7b
    Is there a way to export multiple certs to a single backup cert, or is what I’m trying to do not possible with multiple certs?
    TC

    Something like this:
    $store = New-Object Security.Cryptography.X509Certificates.X509Store "my","localmachine"
    $store.Open("ReadOnly")
    Set-Content -Path exportedcerts.pfx -Value $store.Certificates.Export("pfx","password")
    $store.Close()
    note that this command will fail, if there are certificates with non-exportable keys. You cannot export certificates with non-exportable keys.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • How to install and use certificates on client?

    Hello everyone, and first of all sorry for my poor, italian-accented english.
    I have some questions about SSL and certificates. I'm developing a java desktop application, which should connect to a https server, authenticate with a previously downloaded certificate and then gain access. Some specs: I work on a Windows Xp Pro machine with Netbeans 6.1 and jdk 1.6.0_07.
    Now, I'm using HttpUnit libraries to connect the first time, login with basic authentication and download the certificate, but after i get it I'm not sure how to install the certificate (using java, it has to be an automated procedure) on the client machine and then how to use it to connect to the server. I've tried to use the code I've found here and after using it I can see the certificate inside Control Panel > Java > Securiy > Certificates > System, but I'm not sure I'm installing it in the correct way and/or in the correct path.
    Everytime I try to connect to the server I get back a HTTP 403 forbidden exception. Does someone know any tutorials/howtos/example codes to suggest to me? Or could tell me what's the right installation procedure using java? Any help would be very appreciated.
    Thanks in advance
    K.

    After banging my head on my keyboard for a lot of hours, I've got it!
    I was trying to install a *.pfx certificate, and that was bad. I tried to convert it in *.p12 or *.cer but that workaround didn't work. Finally I've found a small code to use a *.pfx certificate without installing it and... it works! No more 403 errors now, I can get that damn page. :)
    Here is the class I've used (I've found it somewhere googling around but I've lost the link, sorry. Anyway, I've modified it a little)
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    public class ConnectWithPfx {
       static final int HTTPS_PORT = 443;
       public static void main(String argv[]) throws Exception {
          // Get a Socket factory
          SocketFactory factory = SSLSocketFactory.getDefault();
          SSLSocketFactory socketFactory = null;
          try {
                KeyStore keyStoreKeys;
                KeyManagerFactory keyMgrFactory;
                SSLContext sslContext;
                keyStoreKeys = KeyStore.getInstance("PKCS12");               
                keyStoreKeys.load(new FileInputStream("mycertificate.pfx"),"certpassword".toCharArray());
                keyMgrFactory = KeyManagerFactory.getInstance("SunX509");
                keyMgrFactory.init(keyStoreKeys, "certpassword".toCharArray());
                sslContext = SSLContext.getInstance("SSL");
                sslContext.init(keyMgrFactory.getKeyManagers(), null, null);
                socketFactory = sslContext.getSocketFactory();
                Socket socket2 = factory.createSocket("www.my.host", HTTPS_PORT);
          } catch (Exception e) {
                e.printStackTrace();
            URL url = new URL("https://www.my.host/mypage");      
            // Open a HTTP connection to the URL assigning the SocketFactory we created before
            HttpsURLConnection conn = null;
            conn.setDefaultSSLSocketFactory(socketFactory);
            conn = (HttpsURLConnection) url.openConnection();              
            // Allow Inputs
            conn.setDoInput(true);
            // Allow Outputs
            conn.setDoOutput(true);
            // Don't use a cached copy.
            conn.setUseCaches(false);
            conn.setRequestProperty("Connection", "Keep-Alive");
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            String response = "";
            while ((line = in.readLine()) != null) {
                response += line+"\n";
            System.out.println(response);
    }Hope this could be useful for someone else. Thanks to everyone who read or replied to my thread. :)

  • After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    Dansyacht wrote:
    If the previous Safari suggestion doesn't work try the following:
    In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder.  Restart Safari.  If this works you may just want to delete that FUBAR plug-in.
    Thanks.  This was the solution for me.
    Message was edited by: tvdowntown

  • I'm using Aurora versioon of Firefox. It won't print & says I need to install a printer but it's already installed.

    I'm using Aurora version of Firefox (v. 5.02a). I try to print but it won't and says I need to install a printer. I say OK but it then fails. I already have my printer installed and it works fine with all browsers but Aurora. This problem happened about the time I was offered to upgrade to v 6.02a. I tried upgrading but the upgrade failed and I lost all my many tabs that I keep open for research for my writing. I must be able to print and wonder what I should do (and why 6.0a2 didn't work!).

    That 5.0a2 version is old as Firefox 5.0 has been on the Beta channel for some time now and is due for release on June 21 next week (despite what some sites wrongly claim).
    Firefox 6.0a2 has been getting developed on the Aurora channl for a few weeks now.
    You should update to recent Firefox 5.0 beta 7 at http://www.mozilla.com/en-US/firefox/channel/ or update when 5.0 is released.

  • I have a new 64bit computer to which I have transferred all my files and re-installed all my programsWhen I try to print a page using Adobe Acrobat 9, Firefox crashes. This has never happened before, and does not happen with other browsers.

    I have a new computer. I transferred all my data files and installed my programs. Now, when I try to print a page ti pdf using Adobe Acrobat 9, Firefox crashes, and Adobe hangs up.

    Thanks for your reply cor-el. I had never heard of nor seen the pref network.http.max-connections until I read about it in some of the replies in this support forum. People were saying 256 was the old setting and a new setting of 48 would correct my problem. When I followed the instructions to get to - see - and change the setting I discovered that my network.http.max-connections was already set to 48. I never did this. The only way I can think of that this setting was changed is that it happened by an automatic update to my Firefox browser. So, the problem I have was probably happening while this setting was at 48 all along. It is still set at 48 and I am still having the same problem. I will try as you suggest and set it to 30 and see what happens. I'll let you know the results. That's again for your response.

  • I installed Firefox sync and then used iphone app called FireFox Home and I can syncronize history, tabs and bookmarks. But I am NOT able to syncronize passwords from Firefox in my Macbook to FireFox Home on iPhone !

    I installed Firefox sync and then used iphone app called FireFox Home and I can syncronize history, tabs and bookmarks. But I am NOT able to syncronize passwords from Firefox in my Macbook to FireFox Home on iPhone so I am very terrible to input my IDs and Passwords with my hands on FireFox Home when I log into Facebook, Twitter etc... Is it issue or something like that? If you have some solutions to make it clear, can you tell me how to syncronize memorized IDs and Passwords for the webs. Thank you.

    You can look in Tools > Options > Sync
    Menu differences: [http://kb.mozillazine.org/Menu_differences Windows: Tools > Options - Mac: Firefox > Preferences - Linux: Edit > Preferences]
    See also:
    * [[What is Firefox Sync]]
    * [[How to sync Firefox settings between computers]]
    * [[How to sync Firefox between my desktop and mobile]]

  • I have a touchscreen laptop running Windows 8.1. Is it possible to use the touchscreen with Firefox? I've installed Firefox but it only works with the mouse etc

    have a touchscreen laptop running Windows 8.1. Is it possible to use the touchscreen with Firefox? I've installed Firefox but it only works with the mouse etc

    Hello Sirving575, sorry but the metro version of firefox has been cancelled, see : https://blog.mozilla.org/futurereleases/2014/03/14/metro/
    thank you

Maybe you are looking for