Download certificate from chrome browser

  • Open chrome browser
  •  Open google.com
  • Click on lock icon in the left side of address bar
  • Click on connection is secure
  • Click on certificate is valid 

Now you able to see certificate icon. grab that icon to your machine .

Add downloaded certificate to key store using keychain access

  • Open “Keychain access” application in your mac machine
  • Click on system which is in top left side
  • Now you able to see list of certificates . drag you downloaded certificate file in to that list
  • Click on the file you dragged . Then you will see on window opened
  • In that window expand Trust and select “when using the certificate” value as “always trust” .
  • Close the window and restart your java IDE application