How to save SSL certificate by chrome and firefox on Mac? - macos

This blog explains how to save SSL certificate in chrome and firefox. But I can not following it (my os is Mac). I am not sure if this is because of the difference between mac and windows. Could anybody show me how to save SSL certificate on Mac?
https://medium.com/#menakajain/export-download-ssl-certificate-from-server-site-url-bcfc41ea46a2

The interfaces are a little different in the macOS versions.
In Safari:
Click the padlock icon in the URL bar
Click the Show Certificate button in the dialog that appears
Click on the certificate icon, and drag it to a Finder window (or the Desktop)
In Google Chrome:
Click the padlock icon in the URL bar
If the dialog that appears has a "Connection is secure" line, click on that
Click the "Certificate is valid" or "Certificate (Valid)" area in the dialog
If there is a certificate icon, and drag that to a Finder window (or the Desktop); if there isn't an icon, select the Details tab, then click Export.
In Firefox:
Click the padlock icon in the URL bar
Click the "Show connection details" (right-arrow) button to the right of "Connection secure" in the dialog that appears
Click the "More information" area
Under the Security tab, click the "View Certificate" button
A "about:certificate?cert=..." browser tab will open; scroll down to the Miscellaneous section
In the "Download" line, click "PEM (cert)" to save the site's leaf certificate to your Downloads folder, or "PEM (chain)" to save the entire trust chain

Related

Hide Navigation Pane in Windows File explorer dialog box

I need to hide the navigation pane in the File Explorer "open/save as" dialogue box; I can hide everything except This PC and Network Folders in Regedit. Can somebody help me with this?enter image description here

Applescript: How to click a NON-default button in an Untitled dialog?

Specifically, I'm trying to click the "Create Library" button in iTunes option-launch dialog. The "Choose Library" button is the default. Furthermore, pressing tab has no effect when navigating the dialog by hand.

Gmail contextual gadget does not show up

Steps to reproduce:
Log into Gmail.
Click on the cog icon in the top-left corner; then click on Settings.
Click on the Labs tab.
Enable "Add any gadget by URL" feature.
After reload, go back to the Settings page.
Click on the Gadgets tab.
Add this URL: https://googledrive.com/host/0B0JNj_IM2wiPb1NaX1B0S29MQlE/helloworldgadget.xml
Go to an email that has the string "Hello World" in its subject or body. Notice that the gadget does not show up.

How can I get the public key of a webpage?

How can I get the public key of a website like VeriSign and all other websites which use https(secure protocol)?
It depends on the browser you're using, if you let me know I'll update my answer.
Chrome 55 and above You can now find this information in Developer Tools. Options (3 dots) -> More Tools -> Developer tools, or press F12, then click the "Security" tab and you'll get a "Security Overview" with a "View certificate" button. As per another SO post from Chrome 60 you can actually enable the option again if you go to chrome://flags/#show-cert-link.
Chrome 54 and below: If you're using Chrome then click on the green bar to the left of the 'https:' in the address bar, for the VeriSign website the green bar says Symantec Corperation [US], this will open a pop up. On the pop up click 'Certificate Information'. This will open another pop up. On this go the 'Details' tab at the top and scroll down to 'Public key' which shows the public key the website is using for it's SSL. In VeriSigns case the public key is a 2048 bit key.
IE: the green bar to click on is to the right of the web address. Clicking this brings a similar pop up where you have to click 'View certificates' which then brings up the same pop up as on Chrome where you go to the Details tab and scroll down to 'Public Key'
This is the pop up that opens after clicking the 'Certificate information' or 'View certificates' links.
In Chrome you can get it via developer tools (F12 in windows) or pick it in the menu (Menu -> More Tools -> Developer Tools).
Then all you need to do is to pick the security tab, here are all information you need.
Just clicking on a secure popup does not work anymore.

How to dock Firebug in browser window?

How to dock Firebug in browser window after I opened in a new window? With Firefox 3.0.8 and Firebug 1.3 on Mac OS X 10.5 I can't get it docked in the browser window back. :(
How to fix the problem
Background: firefox 10.0.10
Steps:
Close Firebug if you have it open -> Go to Firefox menu -> select the "Web developer" option -> select "Firebug" from all the options listed -> Select "Firebug UI location" from all the options -> Choose Top, Button, Left or Right depending on your preference.
This should fix your problem. The "Firebug UI location" in the detached Firebug window doesn't work.
Normally you just close the window. When you open Firebug again, it will be docked.
While I was trying to figure this out, I clicked on the bug in the top left corner, while Firebug was open and docked, and selected "Always Open In New Window." Then I had the same problem.
To disable that option while Firebug is open as a Window, select View (in the OS X menu at the top of the screen while the Firebug window is in the foreground) > Options > Always Open In New Window.
Click on the Firebug icon , Choose Firebug UI Location and then choose bottom , it worked for me
I had the same problem. Resolved by following this:
Right click firebug icon in status bar. Select "On for all web pages"
I Couldn’t dock the firebug window back to the Browser-window. Neither via buttons, nor via menu.
Reseting the firebug-settings solved the problem for me. Luckily, I didn’t changed them ever.
Just close the firebug window and click the firebug icon again. It will once again be "docked".
None of these solutions worked for me. Somehow, one of my firebug settings was being stored in my Firefox profile, and I couldn't figure out how to revert it. So, I took the nuclear option and deleted and then recreated my Firebug profile, following these instructions from Mozilla: http://kb.mozillazine.org/Profile_Manager#Creating_a_new_profile
WARNING: This should only be a last resort, as it will remove all of your previous saved settings, add-ons etc. This was not a big deal for me, because I use Chrome as my default browser and only user Firefox for debugging websites using Firebug. But for others, I suspect this might be throwing the baby out with the bathwater, so just wanted to make it clear that there are tradeoffs.
You can click on the small superimposed double rectangle icon on the far right of the firebug window, and dock and undock the firebug widget.
You can click on the small superimposed double rectangle icon on the far right of the firebug window, and dock and undock the firebug widget.
It worked for me in Windows

Resources