<commit_before>---
layout: post
title: "GIT SSL Certificate Problem"
date: 2016-11-20 21:29:00 -0400
tag: news
---

Hello, the last friday when I was trying to push my changes in a project to the repo,
for my surprise, the command `git push myrepo development` failed!!
The error message was: "fatal: unable to access 'https://gitlab.com/my-user/myrepo.git/': SSL certificate problem: unable to get local issuer certificate", WTF!!
Well, after research in google and stackoverflow, I found the answer to my problem in the 4th answer: http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall

I follow this steps:
1) mkdir ~/.certs/ # Make a new folder in my home directory to not overwrite the filesystem certs
2) cd ~/.certs/
3) wget https://curl.haxx.se/ca/cacert.pem # Download the bundle of Mozilla's root certificates
4) sudo git config —system http.sslCAPath ~/.certs/ # Change the path where git searches certs
5) sudo git config —system http.sslCAinfo ~/.certs/cacert.pem # Set the new cert file

I hope that site will be of your complete satisfaction.<commit_msg>Add git ssl certificate problem solution post<commit_after>---
layout: post
title: "GIT SSL Certificate Problem"
date: 2016-11-27 19:54:00 -0400
tag: news
---

Hello, the last friday when I was trying to push my changes in a project to the repo,
for my surprise, the command `git push myrepo development` failed!!\n
The error message was: "fatal: unable to access 'https://gitlab.com/my-user/myrepo.git/': SSL certificate problem: unable to get local issuer certificate", WTF!!\n
Well, after research in google and stackoverflow, I found the answer to my problem in the 4th answer of [this post] (http://stackoverflow.com/questions/3777075/ssl-certificate-rejected-trying-to-access-github-over-https-behind-firewall)
\n
I follow this steps:\n
1) mkdir ~/.certs/ # Make a new folder in my home directory to not overwrite the filesystem certs\n
2) cd ~/.certs/\n
3) wget https://curl.haxx.se/ca/cacert.pem # Download the bundle of Mozilla's root certificates\n
4) sudo git config —system http.sslCAPath ~/.certs/ # Change the path where git searches certs\n
5) sudo git config —system http.sslCAinfo ~/.certs/cacert.pem # Set the new cert file\n
\n
I hope that site will be of your complete satisfaction.
{'fraction_non_alphanumeric': 0.09803082191780822, 'fraction_numerical': 0.026541095890410957, 'mean_word_length': 4.239910313901345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7055051', 'n_tokens_mistral': 761, 'n_tokens_neox': 700, 'n_words': 310}