Popular Posts
JDateField package bruce.lib.swing; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.A... Enable SSL connection for Jsoup import org.jsoup.Connection; import org.jsoup.Jsoup; import javax.net.ssl.*; import java.io.IOException; import java.security.KeyManagement... Build an OpenVPN server on android device Preparation An android device, in this case, Sony xperia Z is used Root permission required Linux Deploy for deploy i...
Blog Archive
Stats
Generate KeyStore and signed applet
in command line:
keytool -genkey -keystore myKeystore -alias myself 
//建立你的public key 
 
keytool -selfcert -alias myself -keystore myKeystore 
//由你的pubilc key 建立一個 private key 
 
jarsigner -keystore myKeystore test.jar myself 
//將你的jar檔用你的private key來簽章