Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/amp.php on line 38
無料sslのletsencrypt導入。メリット・デメリットは? | freeSIM.tokyo
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/scripts.php on line 131

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_locale is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 54

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_thumbnail is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 190

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 192

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::hex_to_rgb is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 193

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 61

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129

無料sslのletsencrypt導入。メリット・デメリットは?


Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929

シェアする


Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 131

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::sns_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 218

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 206

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_current_url is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 219

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::notification_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 251

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 232

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129

Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 235

最近話題の?無料SSL、Let’sEncryptをこのサイトに導入してみました。


Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929

無料SSL Let’sEncrypt導入。メリット・デメリットは?

GoogleもSSL導入を推奨しているなか、試しにこのサイト、Freesim.Tokyoに無料SSLのLet’s Encryptを導入してみました。

そりゃまぁSSLを入れられればそれに越したことは無いんですが、やっぱりコストも手間もかかるしねぇ・・・ということで、今までは躊躇していました。また無料のSSLのLet’sEncryptも知ってはいたのですが、無料は無料なりの・・・と勝手に思っていたので今ひとつ手が伸びなかったのですが、なんとなーくノリでインストール。

参考にしたのはこの記事。
Let’s Encrypt で Nginx にSSLを設定する – Qiita

他の運用サイトでは有償のSSLを導入していますが、Let’sEncryptはコマンドラインさえ扱えれば導入は超ラク。
ここに記載があるとおり、コマンドラインで一発で入って、あとはNginxのconfigをちょちょっと書き換えるだけ。これは簡単です。

SSL導入のメリット・デメリット

さて、SSL導入については世間ではやれGoogle推奨だの、SEOで有利かも、サイトの信頼性がどうこう、みたいなので色々とメリットの解説はされていますが、デメリットもあります。幾つかのサイトをSSL導入してみた経験からメリデメを記載してみますね。

SSL導入メリット

これは言わずもがなですね。
実際SSL導入でSEO的に有利?と言われると、Googleも確か公式には回答していないものの、今後SSL導入していないサイトには色々とChromeでアラートが出たりするので、やっぱり入れておいた方がいいようです。これはメリットというより、導入しないとデメリットになる、というところでしょうか。
Google Chrome 56登場で待ったなし! “常時SSL/TLS化”の効果と実装のポイント | 【レポート】Web担当者Forumミーティング 2017 Spring | Web担当者Forum

また、検索順位には影響がない、とされているものの、いずれはSSL対応サイトが優遇されることはあっても、冷遇されることは無いことから、保険としてのメリットもあります。

個人情報を取るようなサイトであればそもそもが必須。これも微妙ですがメリットかなぁ。

SSL導入デメリット

デメリットはなさそうなSSL導入。ですが歴然と、コストor手間、というデメリットが存在します。
有償SSLの場合は数千円から数万円。Let’sEncryptの場合は無償ですが有効期間が90日、と四半期しか持たないので年4回更新する手間が。

また意外に知られていないですが、SSLを導入することでURLの最初のhttp://のところがhttps://に変わるため、ソーシャルのカウントが全てリセットされる、というデメリットもあります。

例えばこの記事。
https://freesim.tokyo/etc/lost-apple-watch-suica/

これ、はてなブックマークで19ブクマ貰っているのですが、そのURLはhttp://です。
SSL導入することで、それまでのほぼ全てのソーシャルカウントがゼロになります。
Googleはnon-sslからsslにリダイレクトしていくといずれインデックスを更新してくれますが、ソーシャルはこの辺がみんなアホなので、httpのカウントをhttpsに引き継ぐ、ということはしません。

ということで、過去にバズった記事は一回裸になります。

また、Googleもリダイレクトを検知してからインデックス反映をするまでの間、しばらくURLがインデックスから消えたりする事もあるようです。これは今後出てきたら記事にしようかと思います。

まぁ長いサイト運営で考えるといっときのことではあるので、早いうちに無料でもなんでもSSL導入しておくと、あとは楽ですよねー、という考え方もできるのかなぁ。

SSL導入後の後片付け

さて、SSL導入した後には後片付けというか、Wordpressの場合必要な設定があります。
取りも直さずhttps://で接続が出来ることを確認した上で(これ重要)
1つはWordpress側の設定>一般設定にある「WordPress アドレス (URL)」「サイトアドレス (URL)」のURLをhttpsに変えること。
その後にChromeなどのデベロッパーツールで各ページがMixed Contents、つまりnon-sslとsslの混在した状態になっていないかを確認する必要があります。

こちらがページ全部SSLになっている状態。

こちらがmixed contents状態。

・・・・てかhatena系ばっかりじゃないですか・・・w


食べるんだ。

この記事が気に入ったら
いいね!お願いします


Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929

シェアする

フォローする


Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929