![f:id:ishimotohiroaki:20170623135933p:plain f:id:ishimotohiroaki:20170623135933p:plain](https://it.hirokun.net/wp-content/uploads/2019/03/20170623135933.png)
G Suiteを利用されていて、iOSのMDM機能を設定されている場合、Apple Push Certificateを使用されているはずです。
このApple Push Certificateで使う証明書は有効期限が1年間で発行されているため、毎年更新が必要になります。
公式:Apple Push Certificate を使用する – G Suite 管理者 ヘルプ
ヘルプは公式のものになりますが、文字だけでわかりづらいところもあるので画面を交えて説明していきます。
GoogleAppsサービス当初はすごくわかりづらい画面でしたが、年々のバーンジョンアップにより、作業がものすごく簡単になっています。
Appleからメールが届く
更新案内のメールはGoogleからではなくAppleから届きます。
Appleからのメールはとてもめずらしいので(わたしだけかもしれませんが)注意しておく必要があります。
![f:id:ishimotohiroaki:20170623133110p:plain f:id:ishimotohiroaki:20170623133110p:plain](https://it.hirokun.net/wp-content/uploads/2019/03/20170623133110.png)
このメールは有効期限の30日前、10日前、当日の合計3回届きます。
G Suiteの管理画面から更新処理を行う
Appleの画面からではなく、G Suiteの管理画面から行います。
G Suite管理画面
G Suite管理画面を開きます。
![管理コンソール](https://it.hirokun.net/wp-content/uploads/2017/06/管理コンソール-1024x762.png)
「デバイス」をクリックします。
![管理コンソール デバイス管理](https://it.hirokun.net/wp-content/uploads/2017/06/管理コンソール-デバイス管理-1024x738.png)
「iOS設定」をクリックします。
![管理コンソール デバイス管理 iOS設定](https://it.hirokun.net/wp-content/uploads/2017/06/管理コンソール-デバイス管理-iOS設定-1024x498.png)
「Apple の証明書」をクリックします。
![管理コンソール デバイス管理 iOS設定 デバイスの管理](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-1024x378.png)
「証明書を更新」をクリックします。
![Appleプッシュ証明書の更新 CSRを取得](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-3-1024x669.png)
「CSRを取得」をクリックします。「Push Notification Certificate.csr」ファイルがダウンロードされます。
![Appleプッシュ証明書の更新 証明書を更新](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-4-1024x669.png)
「Apple Push Certificates Portal」をクリックします。
Apple Push Certificates Portal 管理画面
ログイン画面が表示されますので、AppleIDでログインします。
ログインが成功すると画面が表示されます。
![f:id:ishimotohiroaki:20170623134616p:plain f:id:ishimotohiroaki:20170623134616p:plain](https://it.hirokun.net/wp-content/uploads/2019/03/20170623134616.png)
VendorがGoogleで、StatusがActiveの、「Renew」をクリックします。
![f:id:ishimotohiroaki:20170623134743p:plain f:id:ishimotohiroaki:20170623134743p:plain](https://it.hirokun.net/wp-content/uploads/2019/03/20170623134743.png)
「ファイルを選択」をクリックし、G Suiteの管理画面でダウンロードしたcsrファイルを選択します。
「Upload」をクリックします。
![f:id:ishimotohiroaki:20170623134921p:plain f:id:ishimotohiroaki:20170623134921p:plain](https://it.hirokun.net/wp-content/uploads/2019/03/20170623134921.png)
無事に署名が完了するとConfirmationと表示されますので、「Download」をクリックします。
するとpemファイルがダウンロードされます。
G Suite 管理画面
![Appleプッシュ証明書の更新 証明書をアップロード](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-5-1024x646.png)
「証明書をアップロード」をクリックします。
さきほど入手したMDM_ Google LLC (Ent)_Certificate.pemファイルをアップロードします。
![Appleプッシュ証明書の更新 保存して続行](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-6-1024x638.png)
「保存して続行」をクリックします。
![Appleプッシュ証明書の更新 完了](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-7-1024x233.png)
![Appleプッシュ通知サービス 有効期限確認](https://it.hirokun.net/wp-content/uploads/2017/06/デバイスの設定-9-1024x358.png)
有効期限が延長されていれば作業完了です。
毎年の更新処理を忘れないようにしましょう。