wgetでhttpsを使ってファイルを取得

以下を参考にして証明書無視してwgethttps経由でダウンロードできた。

http://pentan.info/server/linux/wget_error_ssl.html

というのはwordpressのモノは以前はhttpでダウンロードできていたのに、4.3になってからhttpでダウンロードしようとするとhttpsにフォワードしてくれてエラーとなるようだ。

$ wget http://ja.wordpress.org/wordpress-4.3-ja.zip
--2015-08-30 09:38:36--  http://ja.wordpress.org/wordpress-4.3-ja.zip
Resolving ja.wordpress.org... 66.155.40.250, 66.155.40.249
Connecting to ja.wordpress.org|66.155.40.250|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://ja.wordpress.org/wordpress-4.3-ja.zip [following]
--2015-08-30 09:38:37--  https://ja.wordpress.org/wordpress-4.3-ja.zip
Connecting to ja.wordpress.org|66.155.40.250|:443... connected.
ERROR: The certificate of ‘ja.wordpress.org’ is not trusted.
ERROR: The certificate of ‘ja.wordpress.org’ hasn't got a known issuer.
$ wget --no-check-certificate https://ja.wordpress.org/wordpress-4.3-ja.zip
--2015-08-30 09:39:44--  https://ja.wordpress.org/wordpress-4.3-ja.zip
Resolving ja.wordpress.org... 66.155.40.250, 66.155.40.249
Connecting to ja.wordpress.org|66.155.40.250|:443... connected.
WARNING: The certificate of ‘ja.wordpress.org’ is not trusted.
WARNING: The certificate of ‘ja.wordpress.org’ hasn't got a known issuer.
HTTP request sent, awaiting response... 200 OK
Length: 7579949 (7.2M) [application/zip]
Saving to: ‘wordpress-4.3-ja.zip’

wordpress-4.3-ja.zi 100%[=====================>]   7.23M   368KB/s   in 24s    

2015-08-30 09:40:09 (313 KB/s) - ‘wordpress-4.3-ja.zip’ saved [7579949/7579949]

$ md5sum wordpress-4.3-ja.zip 
83c8eb427c21f30aaab1cba73f0d98d9  wordpress-4.3-ja.zip
$

証明書確認なしなので、一応md5を確認して完了とした。