httpsサービスを提供するためにstunnelを設定する方法

httpsサービスを提供するためにstunnelを設定する方法

誰もが次のようにhttpsを設定したのだろうか?トンネルApacheやWebサーバーを使用する必要はありません。私はこれを使用して、現在少し重い作業であるApache https(WinstoneからApacheプロキシを介して)を介して実行されているHudsonビルドシステムを置き換えます。

私はハドソンビルドシステムでApache httpsを構成する人ですが、衝撃的な方法でこれを行う方法がわからないようです。

私のCLIで実行されているstunnelの例は次のとおりです。

buggedtech~$ stunnel
Reading configuration from file /usr/local/etc/stunnel/stunnel.conf
Snagged 64 random bytes from /Users/icasimpan/.rnd
Wrote 1024 new random bytes to /Users/icasimpan/.rnd
PRNG seeded successfully
Using DH parameters from /usr/local/etc/stunnel/stunnel.pem
DH initialized with 512 bit key
ECDH initialized
Certificate: /usr/local/etc/stunnel/stunnel.pem
Certificate loaded
Key file: /usr/local/etc/stunnel/stunnel.pem
Private key loaded
SSL context initialized for service https
Configuration successful
Clients allowed=125
FD=8 in non-blocking mode
FD=9 in non-blocking mode
FD=10 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Error binding https to ::1:443
bind: Permission denied (13)

よろしくお願いします。

イスマイルカシパン:)

ベストアンサー1

ヒントありがとうございます。私もこれに気づき、sudoを試してみましたが、今動作します! :)

おすすめ記事