未分类 - XiZi's Blog

给Android系统的cacerts.bks添加根证书

1.创建自己的根证书

  •  产生私匙(这里我们使用openssl)
    openssl genrsa -3 -out testkey.pem 2048
  • 生成根证书
    openssl req -new -x509 -key testkey.pem -out testkey.x509.pem -days 10000
  • 转换私匙格式
    openssl pkcs8 -in testkey.pem -topk8 -outform DER -out testkey.pk8 -nocrypt

好了可以用testkey.x509.pem和testkye.pk8文件给apk,jar签名了。

2.给cacerts.bks添加根证书

在PC上安装Java环境,然后下载这个文件 http://bouncycastle.org/download/bcprov-jdk16-141.jar,放入java安装目录下的/lib/ext/目录中。

将第一步中取得的cacerts.bks与你要添加的CA证书放在同一级目录下,CA证书为crt或cer格式。然后通过以下命令倒入

keytool -keystore cacerts.bks -storetype BKS -provider org.bouncycastle.jce.provider.BouncyCastleProvider \
-storepass "" -importcert -trustcacerts -alias 100.crt -file testkey.x509.pem.crt

ps:Try a. Blank. Pass, or ez24get, or "", or testtest ,those are all known instances of passwords besides changeit on Android devices

3.对于android4.0

 

直接把证书放在/system/etc/security/cacerts文件夹里面,创建一个hash链接,并修改权限644。

ln -s my_ca.crt `openssl x509 -hash -noout -in my_ca.crt`.0

Super Contacts

1、Support most all of the platform, for example, iphone ,android ,wm, etc.

2、Main functions: with this pogram you need to login to update contacts. if your friends updates a new phone number,the next time, when you open the program, it will notify you that somebody updated their phone number.

3、the most ideable method is to integrate the program to default sys contacts.

4、the other thing we should thing is that protect users' privacy.

我想要的多屏幕操作

  1. 在两个屏幕底部都能显示任务栏,任务栏显示当前屏幕包含横向主窗口的程序图标。
  2. 在屏幕之间拖动时,任务栏图标也随之改变。
  3. 没发现有类似的软件。

PGP keyservers:

 哎,费了老大劲,ubuntu的keyserver(keyserver.ubuntu.com)怎么也连不上,搜索了好几,终于找到了。原来,有这么多的PGP key server。

 来源网址:http://www.pramberger.at/peter/services/keyserver/network/

 




Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee