set nocompatible syntax on " Only do this part when compiled with support for autocommands." if has("autocmd") " Use filetype detection and file-based automatic indenting." filetype plugin indent on " Use actual tab chars in Makefiles." autocmd FileType make set tabstop=4 shiftwidth=4 softtabstop=0 noexpandtab endif " For everything else, use a tab width of 2 space chars." set tabstop=2 " The width of a TAB is set to 2. Still it is a \t. It is just that Vim will interpret it to be having a width of 2." set shiftwidth=2 " Indents with '>' will have a width of 2." set softtabstop=2 " Sets the number of columns for a TAB." set expandtab " Expand TABs to 2 spaces."
wget and curl behind corporate proxy throws certificate is not trusted or certificate doesn't have a known issuer
If you try to run wget or curl in Ununtu/Debian behind corporate proxy, you might receive errors like: ERROR: The certificate of 'apertium.projectjj.com' is not trusted. ERROR: The certificate of 'apertium.projectjj.com' doesn't have a known issuer. wget https://apertium.projectjj.com/apt/apertium-packaging.public.gpg ERROR: cannot verify apertium.projectjj.com's certificate, issued by 'emailAddress=proxyteam@corporate.proxy.com,CN=diassl.corporate.proxy.com,OU=Division UK,O=Group name,L=Company,ST=GB,C=UK': Unable to locally verify the issuer's authority. To connect to apertium.projectjj.com insecurely, use `--no-check-certificate'. To solution is to install your company's CA certificate in Ubuntu. In Windows, open the first part of URL in your web browser. e.g. open https://apertium.projectjj.com in web browser. If you inspect the certifcate, you will see the same CN (diassl.corporate.proxy.com), as reported by the error above ...
Comments