Unable to resolve “unable to get local issuer certificate” using git on Windows with self-signed certificate

The problem is that git by default using the “Linux” crypto backend. Beginning with Git for Windows 2.14, you can now configure Git to use SChannel, the built-in Windows networking layer as the crypto backend. This means that it will use the Windows certificate storage mechanism and you do not need to explicitly configure the … Read more

How to create .pfx file from certificate and private key?

You will need to use openssl. openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt The key file is just a text file with your private key in it. If you have a root CA and intermediate certs, then include them as well using multiple -in params openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in … Read more

“PKIX path building failed” and “unable to find valid certification path to requested target”

Go to URL in your browser: firefox – click on HTTPS certificate chain (the lock icon right next to URL address). Click “more info” > “security” > “show certificate” > “details” > “export..”. Pickup the name and choose file type example.cer chrome – click on site icon left to address in address bar, select “Certificate” … Read more

How to generate a self-signed SSL certificate using OpenSSL?

You can do that in one command: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 You can also add -nodes (short for “no DES”) if you don’t want to protect your private key with a passphrase. Otherwise it will prompt you for “at least a 4 character” password. The days parameter … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)