2024年10月20日 星期日

After adding a new SIM card, eSIM (SIM Free) suddenly lose signal for long time (Docomo Ahamo / iPhone)

 I have two mobile phone numbers in Japan, one is DOCOMO’s Ahamo and the another one is b-mobile. As mentioned by the telecommunications company, both b-mobile and docomo need to install a profile on the iPhone when first using it, but only b-mobile's profile will affect the APN settings.

One day, when I switched back to the Hong Kong CSL account number, Ahamo suddenly could no longer connect to the telecom provider.

2024年10月8日 星期二

Java 使用 BouncyCastleProvider 從 CA Certificate 簽出子證書

要做到自動化使用 Root CA 頒發簽名的方式,除了可以直接讓程式去執行 Terminal 的 Command Line,也可以直接用內建的工具直接簽發,好處是一站式完成,不需要另外處理呼叫的問題。

2024年10月5日 星期六

PKCS12 - Java Legacy version and supports workaround

如果使用 .p12 檔案的時候出現: Exception in thread "main" java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) 等類似的錯誤,這有可能會是 JDK 早期版本不支援的問題,可參考以下方式做 Workaround 解決。

2024年9月16日 星期一

curl 卡在 TLS Handshake 時的 Workaround: 變更 CURL_SSL_BACKEND

我在一些未知的情況下出現了 curl 向 HTTPS 的網址請求會發生 Handshake 卡在第一次 Hello 完的狀態,在無法確認如何解決的情況下,可以採用替換 SSL Backend 的方法繞過。

© Mac Taylor, 歡迎自由轉貼。
Background Email Pattern by Toby Elliott
Since 2014