-例 --ネットワーク ---192.168.0.0/25 --サーバ名(サーバのFQDN) ---test.csse.muroran-it.ac.jp -ssl証明書を作成 --openssl req -new -nodes -x509 -keyout /etc/cups/ssl/server.key -out /etc/cups/ssl/server.crt -days 3650 ---サーバの名前以外はとりあえずてきとー ---サーバ名(Your Name):hostname.domain....(サーバのFQDN) ---サーバ名(Your Name):test.csse.muroran-it.ac.jp -[[設定ファイル>../設定/ファイル/cupsd.conf]]の編集 --既存のListenをコメントアウト --Listen *:631 --BrowseAddress 157.19.183.127 --ServerAlias hostname.domain....(サーバのFQDN) --<Location /></Location>内 --既存の[[Listen>../設定/ファイル/cupsd.conf#listen]]をコメントアウト --[[Listen>../設定/ファイル/cupsd.conf#listen]] *:631 --[[BrowseAddress>../設定/ファイル/cupsd.conf#browseaddress]] 192.168.0.127 --[[ServerAlias>../設定/ファイル/cupsd.conf#serveralias]] test.csse.muroran-it.ac.jp --[[<Location />>../設定/ファイル/cupsd.conf#location]]〜[[</Location>>../設定/ファイル/cupsd.conf#location]]内 ---とりあえず全部コメントアウト ---Order deny,allow ---Deny all ---Allow 157.19.183.0/25 --<Location /admin>や<Location /admin/conf>を<Location />と同じにしておく ---[[Order>../設定/ファイル/cupsd.conf#order]] deny,allow ---[[Deny>../設定/ファイル/cupsd.conf#allow_deny]] all ---[[Allow>../設定/ファイル/cupsd.conf#allow_deny]] 192.168.0.0/25 --[[<Location /admin>>../設定/ファイル/cupsd.conf#location]]や[[<Location /admin/conf>>../設定/ファイル/cupsd.conf#location]]を[[<Location />>../設定/ファイル/cupsd.conf#location]]と同じにしておく ---EncryptionとAuthType, Require userはそのままでいいや ---と思ったけど,全部コメントアウト --最後の行に以下を追加 ---ServerCertificate /etc/cups/ssl/server.crt ---ServerKey /etc/cups/ssl/server.key ---[[ServerCertificate>../設定/ファイル/cupsd.conf#servercertificate]] /etc/cups/ssl/server.crt ---[[ServerKey>../設定/ファイル/cupsd.conf#serverkey]] /etc/cups/ssl/server.key