使用3.55-Kmeaw連線PSN - 改機

Joe avatar
By Joe
at 2011-02-12T13:07

Table of Contents

SSL 簽證的部份已經搞定了,剩下 DNS解析的部份。需要 Linux環境(cygwin或
原生 Linux)跟OpenSSL 套件。

在cygwin裡面建議安裝apt-cyg 工具,就可以利用類似Debian/Ubuntu/Cydia 裡
面的apt 指令直接安裝套件,不用再跳出來執行setup.exe 。以下指令中 $是提
示字元。

指令:
$ wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg
$ chmod +x apt-cyg
$ mv apt-cyg /usr/bin

然後安裝OpenSSL

指令:
$ apt-cyg install openssl

靜待執行結束

Step 1-1. 生出最高層認證中心 Root CA

指令:(以cygwin為例, Linux的路徑是/etc/ssl)
$ cd /usr/ssl //進入 ssl程式工作目錄
$ openssl rand -out /usr/ssl/private/.rand 1024 //製作亂數檔
$ vi /usr/ssl/openssl.cnf //進入編輯器
//找到 dir = ./demoCA
//改成 dir = /usr/ssl

不會用vi的人可以用其他編輯器,但請存成Unix換行格式

Step 1-2. 生出最高層認證中心的私鑰(rootca.key)

指令:
$ openssl genrsa -des3 -out rootca.key 2048 //產生最高層的私鑰
Generating RSA private key, 2048 bit long modulus
.............................................................................
..............+++
.............................................................................
...+++
e is 65537 (0x10001)
Enter pass phrase for rootca.key: //設定密碼
Verifying - Enter pass phrase for rootca.key: //重新確認密碼

Step 1-3. 填寫憑證申請書(rootca.req)
$ openssl req -new -key rootca.key -out rootca.req
Enter pass phrase for rootca.key: //輸入剛剛設定的密碼
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) [AU]:TW //輸入基本資料
State or Province Name (full name) [Some-State]:Taiwan R.O.C
Locality Name (eg, city) []:Taipei
Organization Name (eg, company) [Internet Widgits Pty Ltd]:NTU
Organizational Unit Name (eg, section) []:ptt
Common Name (eg, YOUR name) []:Modchip
Email Address []:[email protected]

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: //直接按Enter 跳過
An optional company name []: //直接按Enter 跳過

Step 1-4. 把憑證(rootca.crt)簽出來
指令:
$ openssl x509 -req -days 7305 -sha1 -extfile /usr/ssl/openssl.cnf \\
-extensions v3_ca -signkey rootca.key -in rootca.req -out rootca.crt
Signature ok
subject=/C=TW/ST=Taiwan R.O.C/L=Taipei/O=NTU/OU=ptt/CN=Modichip/
[email protected]
Getting Private key
Enter pass phrase for rootca.key: //輸入最高層密碼

Step 2-1.製作 PSN伺服器的私鑰(auth.np.ac.playstation.net.key)
指令:
$ openssl genrsa -out auth.np.ac.playstation.net.key 2048
Generating RSA private key, 2048 bit long modulus
.............................................................................
.......................+++
........................................................................+++
e is 65537 (0x10001)

Step 2-2. 填寫 PSN伺服器的憑證申請書(auth.np.ac.playstation.net.req)
指令:
$ openssl req -new -key auth.np.ac.playstation.net.key -out \\
auth.np.ac.playstation.net.req
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) [AU]:TW
State or Province Name (full name) [Some-State]:Taiwan R.O.C
Locality Name (eg, city) []:Taipei
Organization Name (eg, company) [Internet Widgits Pty Ltd]:NTU
Organizational Unit Name (eg, section) []:ptt
Common Name (eg, YOUR name) []:Modchip
Email Address []:[email protected]

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []: //直接按Enter跳過
An optional company name []: //一樣按Enter跳過

Step 2-3. 用最高層認證中心簽憑證給(auth.np.ac.playstation.net)
$ openssl x509 -req -days 3650 -sha1 -extfile /usr/ssl/openssl.cnf \\
-extensions v3_req -CA rootca.crt -CAkey rootca.key -CAserial \\
rootca.srl -CAcreateserial -in auth.np.ac.playstation.net.req -out \\
auth.np.ac.playstation.net.crt
Signature ok
subject=/C=TW/ST=Taiwan R.O.C/L=Taipei/O=NTU/OU=ptt/CN=Modchip/\\
[email protected]
Getting CA Private Key
Enter pass phrase for rootca.key: //輸入最高層密碼

這樣就可以得到rootca.crt跟auth.np.ac.playstation.net.crt,應該就是原文
所提到,自己製作的CA SSL憑證。

******

參考資訊:http://www.tc.umn.edu/~brams006/selfsign.html

--

____ _ _ _ _ ____ _ _ ____ _____ ____
(_ _)( \( )( \/ )( ___)( \( )(_ _)( _ )( _ \
_)(_ ) ( \ / )__) ) ( )( )(_)( ) /
(____)(_)\_) \/ (____)(_)\_) (__) (_____)(_)\_)


--
Tags: 改機

All Comments

Hedy avatar
By Hedy
at 2011-02-17T06:46
專業推
Hazel avatar
By Hazel
at 2011-02-21T12:15
專業!
Bennie avatar
By Bennie
at 2011-02-26T06:12
刪去張爸推文
Faithe avatar
By Faithe
at 2011-02-27T01:22
推專業 看不懂@_@S
Elvira avatar
By Elvira
at 2011-03-01T22:15
憑證作完了,可是還缺SSL Proxy和修改封包的部份 :(
Michael avatar
By Michael
at 2011-03-06T06:07
發現憑證做完還要寫入/dev_flash/我不大喜歡這樣搞=.=
Joe avatar
By Joe
at 2011-03-09T05:53
感覺有要刷flash風險~~

如何證明此機未改 (在影片中)

Adele avatar
By Adele
at 2011-02-12T12:20
小弟最近要賣360 因為可能不能試機 所以應該用拍影片的方式開機玩遊戲給買家看 順便想到 有辦法在影片證明這台未改機嗎? (按光碟開機放遊戲跟 按電源紐開機放遊戲這樣?) 我只有幾片forza3 reach 忍者外傳2 - ...

使用3.55-Kmeaw連線PSN

Olive avatar
By Olive
at 2011-02-12T10:26
http://www.ps3-hacks.com/2011/02/11/connecting-to-psn-on-cfw-3-55-kmeaw/ 千拜萬拜,不如整箱國農拿來拜,國農乳品祝大家新年快樂,啊不對,是千敗萬 敗,3.55要連線 PSN還是栽在中間人攻擊(man-in-the middle atta ...

刷回官方OFW3.55黑畫面

Franklin avatar
By Franklin
at 2011-02-12T09:49
請問我剛剛想要換硬碟 進恢復 刷回官方3.55 在刷完重開機的步驟就黑畫面 按電源出現3聲的逼逼聲 然後就沒反應了 我強制重開 結果有進去 嚇死我了 請問這樣正常嗎= = 我檢查PUP的MD5沒有錯 這樣我要繼續換硬碟嗎 應為換完還要再刷一次 真抖 - ...

Ak2i無法更新AKAIO 1.8.5

Elma avatar
By Elma
at 2011-02-12T09:39
主機是NDSiLL,記憶卡金士頓8G,原先在使用AKAIO 1.7.1 原本卡帶就有常常讀不到的毛病(開機後slot 1顯示空白) 上次為了測試七龍珠究極武鬥傳與逆轉檢事二,就更新了 1.Ak2i本身的韌體到可以支援1.4.1版DSi韌體(不過NDSiLL本身還是1.4,沒有升級) 2.嘗試更新AKA ...

6.35PRO-A2執行體驗版失敗

Edwina avatar
By Edwina
at 2011-02-12T08:09
我的魔物機 原本是有三個遊戲的體驗版 PATAPON3/FF012/夢幻之星 刷上6.35PRO-A2後 都無法執行 於是重開機變回6.35 也是都無法執行 請問這個問題有解嗎? ps.我之前都有在這台玩過這三個體驗版 現在執行失敗 有時顯示80020148 有時是變成體驗版解說畫面那邊當掉 - ...