助け合いフォーラム
この問題はプレミアムコンテンツです。
回答
[OpenVPNの設定ファイル「server.conf」および「client.conf」の設定項目で、SSL/TLSの設定に関するものは次のうちどれか。三つ選べ。] の回答が”ca”,"cert",
"key"の以上の3つですが、設定項目のみで考えると”cipher”も正解で、プラス説明で考えるとサーバ・クライアントで設定に相違があるので、”ca”のみ正解ではないのでしょうか。以上、ご教示願います。
cipher は暗号化アルゴリズムの設定です
暗号化という観点では使用するかもわかりませんが cipher を設定しても
SSL/TLS が有効になるわけではありませんのでここでは不正解でよいかと思います
SSL/TLSを使う場合は ca,cert,key についてサーバ, クライアントともに各々の証明書や秘密鍵の設定が必須です
サンプルの server.conf, client.conf にも説明がありますのでセットで考えておくのが良いかと思います.
https://www.openvpn.jp/document/how-to
sample-config-files/server.conf
# SSL/TLS root certificate (ca), certificate
# (cert), and private key (key). Each client
# and the server must have their own cert and
# key file. The server and all clients will
# use the same ca file.
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
sample-config-files/client.conf
# SSL/TLS parms.
# See the server config file for more
# description. It's best to use
# a separate .crt/.key file pair
# for each client. A single ca
# file can be used for all clients.
ca ca.crt
cert client.crt
key client.key
コメント
この投稿に対して返信しませんか?
k kakarooto007
2025/03/19 15:27
色々とご教示いただきまして、有難うございます。