差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:08_password_encryption [2024/06/24 03:16] – [暗号化パスワードの削除] junichi | ja:documentation:pandorafms:technical_annexes:08_password_encryption [2024/06/24 05:01] (現在) – [暗号化パスワードの削除] junichi | ||
---|---|---|---|
行 87: | 行 87: | ||
===== 暗号化パスワードの変更 ===== | ===== 暗号化パスワードの変更 ===== | ||
- | Changing | + | It is possible to change |
- | 暗号化パスワードは、漏えいしてしまった場合などは変更することができます。最初に、データベース内のパスワードを復号化する必要があります。 | + | 暗号化パスワードが漏洩した場合には、それを変更することができます。まず、データベースに保存されているパスワードを復号化する必要があります。 |
< | < | ||
行 96: | 行 96: | ||
</ | </ | ||
- | Then, after changing | + | Then, after having changed |
- | そして、([[: | + | その後、暗号化パスワードを変更し([[#ks2|新規インストールでの設定]]のセクションで説明したように)、再度暗号化することができます。 |
- | + | ||
- | < | + | |
+ | <code bash> | ||
/ | / | ||
- | |||
</ | </ | ||
- | <WRAP center round important | + | <WRAP center round important |
+ | |||
+ | From 7.0 NG 739 onwards, | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important 90%> | ||
+ | |||
+ | 7.0NG 739 以降には、[[: | ||
- | <WRAP center round important 60%> | ||
- | 7.0NG 739 以降には、[[: | ||
</ | </ | ||
行 116: | 行 120: | ||
**認証情報管理: | **認証情報管理: | ||
- | In case of having | + | If you have an encrypted database, |
- | 暗号化データベースがある場合、データを失うことなく認証情報管理を使い続けることができるようにするには、**tcredential_store** テーブルを除いてすべての暗号を解除します。 | + | 暗号化されたデータベースがある場合、データを失うことなく資格情報管理を引き続き使用するには、**tcredential_store** テーブルを除くすべてのデータを復号化します。 |
- | For that purpose, execute the following commands: | + | To do so, execute the following commands: |
そのためには、以下のコマンドを実行します。 | そのためには、以下のコマンドを実行します。 | ||
- | < | + | < |
/ | / | ||
- | |||
</ | </ | ||
- | Leave everything decrypted. | + | It will be deciphered. |
- | 全ての暗号化が解除されます。 | + | 暗号化が解除されます。 |
- | Once decrypted, | + | Once decrypted, it will be re-encrypted |
暗号化を解除したら、再度暗号化を行います。 | 暗号化を解除したら、再度暗号化を行います。 | ||
- | < | + | < |
/ | / | ||
- | |||
</ | </ | ||
- | If you only wish to encrypt from scratch, just execute the last command. | + | If you only want to encrypt from scratch, just execute the last command. |
初回の暗号化では、最後のコマンドを実行します。 | 初回の暗号化では、最後のコマンドを実行します。 | ||
+ | |||
+ | <wrap #ks4 /> | ||
===== 暗号化パスワードの削除 ===== | ===== 暗号化パスワードの削除 ===== | ||
- | <WRAP center round important | + | <WRAP center round important |
- | <WRAP center round important 80%> | + | It is recommended to keep **every** password stored in Pandora FMS encrypted. |
- | * Stop the server, both in **Metaconsole** | + | </WRAP> |
- | * Comment** encryption_passphrase **in '' | + | |
- | * **メタコンソール** と **ノード** 双方のサーバを停止します。 | + | <WRAP center round important 90%> |
- | * **メタコンソール** と **ノード** 双方の ''/ | + | |
- | < | + | Pandora FMS に保存される **すべての** パスワードを暗号化しておくことをお勧めします。 |
- | # $config[" | + | |
+ | </ | ||
+ | |||
+ | * Stop the server, both in **Command Center (Metaconsole)** and in the **nodes**. | ||
+ | * Launch the decryption script both in **Command Center (Metaconsole)** and in the **nodes**. | ||
+ | |||
+ | * **コマンドセンター(メタコンソール)** と **ノード** 双方のサーバを停止します。 | ||
+ | * **コマンドセンター(メタコンソール)** と **ノード** の両方で復号化スクリプトを起動します。 | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
</ | </ | ||
- | * Launch the decryption script | + | * Comment **encryption_passphrase** in ''/ |
- | * **ノード** および **メタコンソール** で復号化スクリプトを実行します。 | + | * **コマンドセンター (メタコンソール)** と **ノード** の両方で、''/ |
< | < | ||
- | / | + | # $config[" |
</ | </ | ||
- | <WRAP center round tip 60%> \\ Rmember to restart Pandora FMS server after making the changes and launching the script. \\ </WRAP> | + | <WRAP center round tip 90%> |
- | <WRAP center round tip 60%> \\ 変更を加えてスクリプトを実行した後は、Pandora FMS サーバを再起動することを忘れないでください。\\ </ | + | The Pandora FMS server should be restarted after making the changes and launching the script. |
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | |||
+ | 変更を加えてスクリプトを実行した後は、Pandora FMS サーバを再起動することを忘れないでください。 | ||
+ | |||
+ | </ | ||
[[ja: | [[ja: |