Script to remove/untrust certifictate from firefox

Hi,
Is there any mean to remove/untrust a certificate ( yes i'm talking about diginotar ca ) with a script or any other automated way ?
We use Firefox in corporate environment and we are wondering if we can do that automatically
How are the certificates stored ? are they on the sqlite db ?
Regards

See:
*http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/
There is an update 3.6.21 to disable that root certificate and there will be an update 3.6.22 shortly to restore some certificates that were disabled by accident.

Similar Messages

  • Vb scripts to remove the user from the member of perticular group (say from domain admin) from windows servers 2003 and 2008

    Hi,
    I need VB script which to checks the perticular user in AD and if it exists;that user needs to be removed from the member of perticular group
    Ex:- Lets say
    I have a user 783562 , I need to search this user in AD to verify user exists or not. If not then I no need to remove the mebership from perticular group
    Second scenario:-
    If user exists then I need to remove the user membership from the perticular group.I want to do it in automation
    Manual Path:-
    1.Type dsa.msc in run command of IT session(we using it to connect remote desktop).
    2. Select the domain & right click (EX:-corp.ds.xxyyzz.com) and select "Find" to find the user form the domain.
    3. Type the user name in the Name field and click on "Find Now" button user name will be displayed in search result.
    4. Double click on this user ID and select "Member Of" tab.
    5. Select any member of group from the Name section then click on "Remove" button.
    6. Finally click on "Apply" and "OK" button.
    Kindly help me out to do this by using vb script.
    Thanks
    Raja

    Usage: CScript NameOfVBS.vbs //NOLOGO /User:Jane.Doe /GroupDN:CN=Group1,DC=Contoso,DC=com
    Option Explicit
    On Error Resume Next
    Dim str_User
    Dim str_GroupDN
    Dim obj_Connection
    Dim obj_Command
    Dim obj_RootDSE
    Dim str_DNSDomain
    Dim str_Base
    Dim str_Filter
    Dim str_Attributes
    Dim str_Query
    Dim obj_RecordSet
    Dim obj_Group
    Dim str_ADsPath
    Dim obj_User
    str_User = WScript.Arguments.Named("User")
    str_GroupDN = WScript.Arguments.Named("GroupDN")
    If Len(Trim(str_User)) > 0 And Len(Trim(str_GroupDN)) > 0 Then
    Set obj_Connection = CreateObject("ADODB.Connection")
    Set obj_Command = CreateObject("ADODB.Command")
    obj_Connection.Provider = "ADsDSOOBject"
    obj_Connection.Open "Active Directory Provider"
    Set obj_Command.ActiveConnection = obj_Connection
    Set obj_RootDSE = GetObject("LDAP://RootDSE")
    str_DNSDomain = obj_RootDSE.Get("defaultNamingContext")
    str_Base = "<LDAP://" & str_DNSDomain & ">"
    str_Filter = "(&(objectCategory=person)(sAMAccountName=" & str_User & "))"
    str_Attributes = "cn,ADsPath"
    str_Query = str_Base & ";" & str_Filter & ";" & str_Attributes & ";subtree"
    obj_Command.CommandText = str_Query
    obj_Command.Properties("Page Size") = 1000
    obj_Command.Properties("Timeout") = 1
    obj_Command.Properties("Cache Results") = False
    Set obj_RecordSet = obj_Command.Execute
    obj_RecordSet.MoveFirst
    If obj_RecordSet.RecordCount = 0 Then
    WScript.Echo str_User & " was not found"
    Else
    Set obj_Group = GetObject("LDAP://" & str_GroupDN)
    str_ADsPath = obj_RecordSet.Fields("ADsPath")
    Set obj_User = GetObject(str_ADsPath)
    obj_Group.Remove(obj_User.AdsPath)
    If Err.Number = 0 Then
    WScript.Echo str_User & " was removed from group " & str_GroupDN
    ElseIf Err.Number = -2147016651 Then
    WScript.Echo str_User & " not a member of group " & str_GroupDN
    Else
    WScript.Echo str_User & " error removing from group " & str_GroupDN
    End If
    End If
    End If

  • A simple script that removes older packages from cache dir

    Hello all,
    I wrote a small bash script that removes packages (from cachedir /var/cache/pacman/pkg), older than the ones available in repositories (eg. if the current version of pacman is 2.6.3, it will remove pacman-2.6.2 from cachedir). It implements the functionality of debian's 'apt-get autoclean'.
    Get it from http://www.kegep.tuc.gr/~manolis/archlinux/cleanold.sh.

    thanks a lot for sharing this 

  • How can I remove "Dynamic Pricer" from FireFox?

    FireFox has become infected with a nasty virus known as "Dynamic Pricer." I have successfully removed the virus from IE and Chrome, but I cannot seem to get it out of FireFox. I've reset the browser, deleted all history and the program, then downloaded again, but it persists.
    Please help! Does anyone know how to kill it once and for all? Any suggestions are appreciated.
    Troubleshooting information:
    Application Basics
    Name: Firefox
    Version: 34.0.5
    User Agent: Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0
    Multiprocess Windows: 0/1
    Crash Reports for the Last 3 Days
    All Crash Reports
    Extensions
    Name: Skype Click to Call
    Version: 6.11.0.13348
    Enabled: false
    ID: {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
    Graphics
    Adapter Description: Intel(R) HD Graphics Family
    Adapter Drivers: igdumdx32 igd10umd32 igd10umd32
    Adapter RAM: Unknown
    Device ID: 0x0126
    Direct2D Enabled: Blocked for your graphics driver version. Try updating your graphics driver to version 8.15.10.2342 or newer.
    DirectWrite Enabled: false (6.1.7601.17789)
    Driver Date: 12-16-2010
    Driver Version: 8.15.10.2266
    GPU #2 Active: false
    GPU Accelerated Windows: 0/1 Basic (OMTC) Blocked for your graphics driver version. Try updating your graphics driver to version 8.15.10.2342 or newer.
    Subsys ID: 04931028
    Vendor ID: 0x8086
    WebGL Renderer: Blocked for your graphics driver version. Try updating your graphics driver to version 8.15.10.2342 or newer.
    windowLayerManagerRemote: true
    AzureCanvasBackend: skia
    AzureContentBackend: cairo
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    Important Modified Preferences
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.frecency_experiment: 1
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20141126041045
    browser.startup.homepage_override.buildID: 20141126041045
    browser.startup.homepage_override.mstone: 34.0.5
    dom.mozApps.used: true
    extensions.lastAppVersion: 34.0.5
    media.gmp-gmpopenh264.lastUpdate: 1417715835
    media.gmp-gmpopenh264.version: 1.1
    media.gmp-manager.lastCheck: 1417715835
    network.cookie.prefsMigrated: true
    places.history.expiration.transient_current_max_pages: 84959
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    privacy.sanitize.migrateFx3Prefs: true
    Important Locked Preferences
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.7
    Version in use: 4.10.7
    NSS
    Expected minimum version: 3.17.2 Basic ECC
    Version in use: 3.17.2 Basic ECC
    NSSSMIME
    Expected minimum version: 3.17.2 Basic ECC
    Version in use: 3.17.2 Basic ECC
    NSSSSL
    Expected minimum version: 3.17.2 Basic ECC
    Version in use: 3.17.2 Basic ECC
    NSSUTIL
    Expected minimum version: 3.17.2
    Version in use: 3.17.2
    Experimental Features
    ---------------------

    See this - http://malwaretips.com/blogs/dynamic-pricer-virus/

  • How do I remove a password from Firefox's memory

    When I first signed in to my gmail account after downloading Firefox 8, I was asked if I wanted to have Firefox remember this password for me. I accidentally clicked Remember this Password, when I really meant Never Remember this Password. I want to remove this password from my computer's memory because my hotmail account was hacked, and I don't want that to happen again.

    Use iTunes (as you will have to now) and reset the phone as a new activation and start clean.

  • Looking for Help with Active Directory Script to Remove a User from msExchDelegateListLink

    I'm struggling to put together an Active Directory Powershell script that will remove a specific user from the msExchDelegateListLink.
    It looks like Set-AdUser would do the trick. I would want to remove a user in the format of
    {CN=Wood\, Sandy,OU=Networking,OU=IT,DC=my,DC=domain,DC=com}
    Has anyone succeeded in doing this before?
    Orange County District Attorney

    I use this:
    $user = '<user name>'
    $userDN = Get-ADUser $user | select -ExpandProperty DistinguishedName
    $delegates = Get-ADUser $user -Properties msExchDelegateListBL |
    select -ExpandProperty msExchDelegateListBL
    foreach ($delegate in $delegates)
    Set-ADUser $delegate -Remove @{msExchDelegateListLink = "$UserDN"}
    Never quite got around to putting it into a function.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to remove ICQ Search from Firefox

    Are you an ICQ-user? Have you ever wanted to have your own search engine instead of theirs? Even when you uninstall the ICQ Search Toolbar in "Add/Remove Programs", delete the extension in Firefox's Add-ons and restart your browser, it still not completely gone! You may not have noticed this, but the simple reason is that ICQ.com doesn't actually care what people do and don't want running when you install their instant-messaging software onto your computer...
    Luckily, you're not alone in this regard and there is a solution if you follow these instructions carefully:
    1) Type in the address bar "about:config" (without quotes). You will receive a warning here about changing advanced settings, so don't uncheck the box and just click the button to proceed.
    2) In the filter bar, type icq and press enter.
    3) Change the '''browser.search.defaultenginename''', '''browser.search.defaultengine''' and '''browser.search.order.1''' to Google.co.uk
    4) Change '''keyword.URL''' to http://www.google.co.uk/#sclient=psy-zb&hl=en&source=hp&q=
    This is the default string for a keyword search through the address bar in Google, but if you use another search engine, type a word into it and simply copy the string created for that, minus the word itself!
    5) Right-click to modify "extensions.testpilot.surveyAnswers.broken_extensions_survey" list and copy it to notepad.
    6) Delete the ICQ Toolbar Parameter -- carefully make sure you observe how each parameter is listed so you get it all.
    7) Copy and paste the new parameters list into the Modify box.
    8) Close all Firefox windows, and then open them again.
    That's it! Unfortunately Firefox doesn't allow you to fully delete the ICQ parameters from the about:config area - perhaps that requires ICQ's uninstall, or a complete reinstall of Firefox - but with this information you should have your search engine back to normal.
    Unless you properly know how the rest of those functions work, I also suggest you don’t modify them.

    See attachment. Select Bueno search engine and click Remove.
    If it keeps coming back you've probably got some unwanted program on your system. A scan with a good AV and a Malware scanner ([https://www.malwarebytes.org/ Malwarebytes]) is recommended.

  • HELP! How to remove Yahoo search from firefox 36.0.1? HELP!

    I guess I made a big mistake upgrading to FireFox 36.0.1! Nothing but grief since trying to remove the Yahoo search from this version.
    Didn't appreciate this version removing my default Home page tabs to use on startup. Looks like they are gone forever - not happy!
    I have tried many if not all forms of advice to remove this yahoo search from my home page to no avail. I even uninstalled it and made sure I got a non Yahoo version from the Mozilla site. Still no help.
    1) I have tried changing keyword.URL via about:config - no help
    2) I have tried changing the Search - Change Search Settings - no help
    3) I tried bringing up a single tab with Google and using General options to Use Current Page - no help
    4) I tried the same using many other tabs without Google - no help
    5) I have removed Yahoo and others from the Search options - no help
    6) Uninstalled and reinstalled a "CLEAN" version from Mozilla site - no help
    7) Retried 1 thru 5 above again - no help
    8) Checked the Shortcut Target in Mozilla FireFox Properties - no help
    Get the idea? No matter what, Yahoo comes back every time I open FireFox. Which means I cannot use a set of tabs as my default any more. WHY????
    Looks like it may be time to severe my long time use of this browser since the beginning with NetScape in the earliest of days with PC's. Too Bad.

    This worked. The problem is the user.js file was changed. See below:
    User.js file overriding preferences
    If you don't have any of the above programs installed, or if you followed the suggestions and single preferences still aren't being saved, you may have to edit Firefox's configuration files yourself. Don't panic, it's pretty easy. Here's how to do it.
    Open your profile folder:
    Click the menu button New Fx Menu , click help Help-29 and select Troubleshooting Information. The Troubleshooting Information tab will open.
    Under the Application Basics section, click on Show Folder. A window with your profile files will open.
    Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    Click the menu button New Fx Menu and then click Exit Close 29
    Open the file user.js with a text editor (like Notepad).
    If there is no user.js file, these steps won't help you.
    Remove the lines for the options you want to be able to change. You can delete all the lines if you want to be able to change everything.
    Save the file and close the text editor.
    You should now be able to change your Firefox settings.

  • How do I delete or remove Hotspotshield completely from Firefox? I already deleted it using the control panel programs & features function.

    I tried to delete Hotspot shield using the control panel function. Now it keeps showing up when ever I am using Firefox. I tried deleting the tool bar for it. But, it keeps coming back. it will show up on different accounts when I change pages. Like when I log onto the Telus account to pay bill.
    So how do I get this removed from my computer completely?

    Hi,
    Please see [http://www.anchorfree.com/support.php this] (the uninstall section towards the bottom).
    [http://hotspotshield.uservoice.com/forums/46095-hotspot-shield-support Support]
    You can also [https://support.mozilla.org/en-US/kb/update-firefox-latest-version update Firefox to the latest] and consider to [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems Reset Firefox].
    [https://www.mozilla.org/en-US/firefox/new/ Firefox latest]

  • How do I remove Yahoo toolbar from Firefox?

    I can't remove the Yahoo toolbar from Firefox

    See this article [http://help.yahoo.com/l/us/yahoo/toolbar/toolbar1ff/basics/general-07.html How do I remove Yahoo! Toolbar for Mozilla Firefox?]

  • Script to remove htmldb install from database

    Is there a script i can run to remove an existing install of htmldb from the database so that i can start with a fresh install

    Deepak,
    There is no script, but see the instructions in this thread:
    How to deinstall HTML DB
    Sergio

  • Powershell script for removing some users from a particular Site Collection

    Hi,
    I am looking for a PowerShell script to delete a few users from a particular Site Collection. I am unable to delete them from/_catalogs/Users/simple.aspx page therefore need some other medium to
    delete users from the site collection.
    My ultimate aim is to have no user profile with "tp_deleted" field's value as 0 in the USERINFO table. Currently there are about 40 odd users with this field's value as 0 and this is affecting my crawling of this content database.

    Thanks for the reply Alex & eHaze,
    I have a content source of root site which crawls all the site collections under it. Out of the 9 site collections, only 8 are getting crawled and 1 doesn't get crawled at all. The error in the crawl logs is 
    The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: Value does not fall within the expected range. )
    I tried a lot of things, searched over the net and finally found
    this which helped me solve the same issue in my development environment. I deleted these users from userInfo table and ran a full crawl. And the issue was fixed.
    Now since I cannot delete the users from userInfo table directly from PROD environment, I used .../_catalogs/Users/simple.aspx list
    to delete users from this site collection. While some of the users I could delete, quite a few I could not. Clicking on the profile redirected me to the home page rather than the info page of the profile. 
    This
    is why I have to delete these users from the site collection.
    Alex - the link you shared, I guess it is for a web application level.
    eHaze - the script you shared throws this error:
    Get-SPSite : Cannot find an SPSite object with Id or Url: http://dev-apps/divisions/BT. At C:\PowerShell Scripts\DeleteUserFromSiteCollection1.ps1:4 char:19
    + $site = get-spsite <<<< $siteURL
    + CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletGetSite:
    SPCmdletGetSite) [Get-SPSite], SPCmdletPipeBindException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetSite
    You cannot call a method on a null-valued expression.
    At C:\PowerShell Scripts\DeleteUserFromSiteCollection1.ps1:9 char:27
    + $site.SiteUsers.Remove <<<< ($LoginName)
    + CategoryInfo : InvalidOperation: (Remove:String) [], RuntimeExc
    eption
    + FullyQualifiedErrorId : InvokeMethodOnNull
    hope this info helps.

  • How do i remove search-gol from firefox?!! It is not in addons or extenstions and I am worried to reload firefox as i dont want to lose faves or current session

    I always use Google as my firefox search engine.
    However i must have accidentally downloaded a file that has now set up search-gol as my search engine and i want to get rid of it.
    Info to do this strangely doesn't appear anywhere on google searches.
    Mozilla says to go into addons/extensions etc but the search engine isn't listed anywhere.
    I have also unistalled any programmes that i have recently downloaded but this search-gol think won't go.
    I am worried about uninstalling firefox and reinstalling it as i have about 500 favourites and i don't want to lose them and my current browsing session.
    Can anyone tell me how to get rid of this annoying search engine rubbish?
    Thanks

    Follow the removal guide here:
    http://deletemalware.blogspot.com/2013/10/search-gol-removal-guide.html
    You don't need to reset Firefox, just remove the preferences associated with SearchGol.
    And don't forget to scan your computer with anti-malware software.
    Cheers!

  • Is it possible to automate/script the removal of workflows from workflow archive?

    We don't allow our CQ authors to activate content directly.  They must activate their content by executing a custom approval workflow we'd developed as part of our first CQ project.  As you can imagine this workflow is run very often.  So much so that when it came time to upgrade from CQ v5.4 to CQ v5.5 there were too many for me to purge the workflow archive and leaving all those workflows in place caused the upgrade process to run for a very long time.  At the time I was provided with a package for the CQ v5.4 environment that once installed provided a component (/apps/tools/components/purgewf/run.html) that I could then then leverage to kick off a process that given enough time would purge all of the workflows from the workflow archive.
    Now that we are on CQ v5.5 I'd like to be proactive and develop a script that I can schedule to execute on a regular basis that would basically do the same thing as that component from CQ v5.4.  Does anybody know if there's an easy way to do this with CQ v5.5?  Could I simply install the same component that I was given for CQ v5.4 and then leverage curl to kick the process off as I've done that sort of thing before to kick off JMX operations such as runDataStoreGGarbageCollection.  This wouldn't be a JMX operation but I'm thinking it migh actually be easier to use curl to kick of something like purgewf/run.html though I'm not really sure what I'm basing that on other than instinct.

    This has proved very helpful thank you.
    Although I've one point of clarification I could still use some help with.  The document provided by Sham, HC mentions within that it's possible to clean up workflows that have had a status of RUNNING for more than 1 day but it seems to be saying its neccessary to create a list of those workflow models you want this feature of the purge mechanism to act on.  I've looked the Felix configuration over and I can't see that any of the properties there would accept a list of workflow model names and I've tried all of the various modes that are available for the process and none of them do this automatically by assuming any sort of default value for this list.  Is this capablity really there?  Not that I see the ability to purge RUNNING workflows as critical functionality for the purge process as the number of problem workflows with this status tends to be managable but if yet if there's a way to make it do it in addition to clean out the archive it would be nice.

  • How do I permanently remove email accounts from firefox sync on Android ics?

    I have 10 email accounts and would like to sync them all - unfortunately being new to Android and Firefox sync I started with Googlemail so I already had installed a couple of Google mail accounts when I found the Firefox options which were much simpler. I find I've now 2 email accounts each with the same 2 addresses. I thought I'd start again - i ditched Firefox on my Neuropad and unsynced my desktop, re-installed firefox on my neuropad but all the accounts reappeared. Please advise..

    Thank you so much for tolerating the confusion I created for myself. YEA
    About the "enter email address" ... gee, how did I think Firefox was going to be able to communicate with me?
    So... I go to the AOL mailbox, sign in as usual, the little box is coming down, and I click on save ... ah ha
    If I am on another computer, I will open Firefox ... enter the master password ... and move on as usual? ... because all this is on Firefox servers.
    Small confusion ... scenario ... I am to work on a computer without Firefox installed, and I may not install it. What do I do (say, to get on Yahoo mail) or anywhere else?
    Thank you many many times.

Maybe you are looking for