問題
- Liferay インストールの会社 ID ごとに生成される暗号化キーは変更されますか?
Environment
- Liferay 7.2
解決策
- 次のポータル プロパティは、Liferay インストールの暗号化キーを変更します。
#
# Set this to the appropriate encryption algorithm to be used for company
# level encryption algorithms (except password encryption which is defined
# via the property "passwords.encryption.algorithm").
#
# If you change this setting, you may need to also change the property
# "company.encryption.key.size" to configure the desired encryption key
# size.
#
# For more details about encryption keys, see the Java Cryptography
# Extension documentation.
#
# Env: LIFERAY_COMPANY_PERIOD_ENCRYPTION_PERIOD_ALGORITHM
#
company.encryption.algorithm=AES
#company.encryption.algorithm=Blowfish
#company.encryption.algorithm=DES
#company.encryption.algorithm=DESede #
# Set this to define the size used for the company wide encryption key. If
# you change this setting, you may need to also change the property
# "company.encryption.algorithm" to ensure the algorithm supports your key
# size. Most encryption algorithm implementations do not support key sizes
# stronger than 128. Only those with unlimited strength cryptography support
# stronger keys.
#
# For more details about supported key sizes for encryption keys, see the
# Java Cryptography Extension documentation.
#
# Env: LIFERAY_COMPANY_PERIOD_ENCRYPTION_PERIOD_KEY_PERIOD_SIZE
#
#company.encryption.key.size=56
company.encryption.key.size=128
#company.encryption.key.size=168
#company.encryption.key.size=256
#company.encryption.key.size=384
#company.encryption.key.size=512
上記のプロパティが変更されていない場合、Liferay インストールの暗号化キーは変更されません。