標題: 請問點令DirectAdmin行SSL?
 俊俊王子再生
 0073035
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 1084

精華: 0

積分: 860 點

現金: 0 元

存款: 6836 元

閱讀權限: 70

註冊: 2007-4-13

狀態: 離線
 
發表於 2007-9-20 21:57  資料  個人空間  短消息  加為好友 
請問點令DirectAdmin行SSL?

請問點令DirectAdmin行SSL?

例如:https://XXX.com:2222/




 AL8 Forum © All rights reserved.
頂部
 martinfung
 0034011
Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

頭銜: Moderator

帖子: 2689

精華: 0

積分: 26203 點

現金: 293 元

存款: 520 元

閱讀權限: 100

註冊: 2005-11-2

狀態: 離線
 
發表於 2007-9-21 03:15  資料  個人空間  短消息  加為好友 
Setup SSL Certificates:

This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file:
http://help.directadmin.com/item.php?id=15


in http://www.directadmin.com/installguide.html




 AL8 Forum © All rights reserved.
頂部
 俊俊王子再生
 0073035
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 1084

精華: 0

積分: 860 點

現金: 0 元

存款: 6836 元

閱讀權限: 70

註冊: 2007-4-13

狀態: 離線
 
發表於 2007-9-21 15:57  資料  個人空間  短消息  加為好友 
我照著左佢咁做,還set左SSL=1
但行指令時有D error
而且現在無法進入DA
QUOTE:
> /usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes
Generating a 1024 bit RSA private key
.................................................................++++++
..........................++++++
writing new private key to '/usr/local/directadmin/conf/cakey.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:problems making Certificate Request
> chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
> chmod 400 /usr/local/directadmin/conf/cakey.pem
> openssl req -new -x509 -keyout /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cacert.pem -days 3653
Generating a 1024 bit RSA private key
...............++++++
.....++++++
writing new private key to '/usr/local/directadmin/conf/cakey.pem.tmp'
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
3076:error:0906406DEM routinesEM_def_callback:problems getting password:pem_lib.c:105:
3076:error:0906906FEM routinesEM_ASN1_write_bio:read key:pem_lib.c:331:
> openssl rsa -in /usr/local/directadmin/conf/cakey.pem.tmp -out /usr/local/directadmin/conf/cakey.pem
unable to load Private Key
3100:error:0906D06CEM routines:PEM_read_bio:no start line:pem_lib.c:644:Expecting: ANY PRIVATE KEY
> rm -f /usr/local/directadmin/conf/cakey.pem.tmp
> chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
> chmod 400 /usr/local/directadmin/conf/cakey.pem


QUOTE:
原帖由 martinfung 於 2007-9-21 03:15 發表
Setup SSL Certificates:
This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file:
http://help.directadmin.com ...




 AL8 Forum © All rights reserved.
頂部
 俊俊王子再生
 0073035
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

帖子: 1084

精華: 0

積分: 860 點

現金: 0 元

存款: 6836 元

閱讀權限: 70

註冊: 2007-4-13

狀態: 離線
 
發表於 2007-9-24 22:35  資料  個人空間  短消息  加為好友 
請問可以給一份自動運行腳本給我嗎?我不懂這樣做…
QUOTE:
原帖由 martinfung 於 2007-9-21 03:15 發表
Setup SSL Certificates:
This step is only required if you wish to use DirectAdmin through SSL. You will also have to change set SSL=1 in the directadmin.conf file:
http://help.directadmin.com ...




 AL8 Forum © All rights reserved.
頂部
 martinfung
 0034011
Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

頭銜: Moderator

帖子: 2689

精華: 0

積分: 26203 點

現金: 293 元

存款: 520 元

閱讀權限: 100

註冊: 2005-11-2

狀態: 離線
 
發表於 2007-9-25 01:29  資料  個人空間  短消息  加為好友 
cakey.pem 行緊 咩 mod?




 AL8 Forum © All rights reserved.
頂部


網頁空間由 I-SERVICES 提供
當前時區 GMT+8, 現在時間是 2008-12-5 07:33