Get certificate fingerprint of HTTPS server from command line?

The page at http://wiki.debuntu.org/wiki/OpenSSL#Retrieving_certificate_informations lists the command lines for that (and printing out the relevant information). From that page and some of the man pages, it seems like what you want is (for bash): openssl s_client -connect <host>:<port> < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin If you want the whole certificate, leave … Read more

Download an SVN repository?

If you want to download SVN repository online (e.g. Google Code) without installing anything, you can use wget: wget -m -np http://myproject.googlecode.com/svn/myproject/trunk/ If authorization is required, you can use the –user and –ask-password flags, which will prompt you for your password: wget –user=yourusername –ask-password -m -np http://myproject.googlecode.com/svn/myproject/trunk/ Explaining what the parameter does: -m, –mirror: Turn … Read more

Store password in TortoiseHg

Both existing answers suggest storing your username and password unencrypted in plain-text, which is a bit of a no-no. You should use the Keyring extension instead, as it has been specifically designed for securely saving authentication passwords. It already comes bundled with TortoiseHg, so all you have to do is activate it by writing the … Read more

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