Wednesday, April 5, 2017

Git - SSL Certificate Problem

SSL certificate problem: unable to get local issuer certificate


1) Open Git Bash and run the command if you want to completely disable SSL verification.
git config --global http.sslVerify false
Note : But in this way, you may hit attacks like man in the middle attacks.
2) To disable the SSL for only one command, do the following:
 git -c http.sslVerify=false clone https://domain.com/path/to/git
3) Better solution is to do this:
https://blogs.msdn.microsoft.com/phkelley/2014/01/20/adding-a-corporate-or-self-signed-certificate-authority-to-git-exes-store/

4) Edit the Git config text file located at:
C:\Program Files (x86)\Git\etc\gitconfig
In the [http] block, add an option to disable sslVerify. It would look like this:
[http]
    sslVerify = false
    sslCAinfo = /bin/curl-ca-bundle.crt
That did the trick.
NOTE: This disables SSL verification and is not recommended as a long term solution.

UIAutomater Issue

Unable to connect to adb. Check if adb is installed correctly

Basically, the com.android.uiautomator.bindir property is not set in uiautomatorviewer.bat.
Edit the file and set the property to the path for android-sdk/tools folder.
1) C:\Users\593322\AppData\Local\Android\sdk\tools\bin

2) Open "uiautomatorviewer.bat" in textpad

3) call "%java_exe%" "-Djava.ext.dirs=%javaextdirs%" "-Dcom.android.uiautomator.bindir=C:\Users\593322\AppData\Local\Android\sdk\platform-tools" -jar %jarpath% %*

NOTE: Dcom.android.uiautomator.bindir => put your platform-tools folder path here.

CTS Outlook Configuration

You can configure outlook using the below settings. 1) Open Control panel and select Mail 2) Select show profile now 3) Select A...