/* Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com
This code is for educational purposes only. Use at own risk.*/

1. ( In a console window  : ) 

2.  

3. D:\j2sdk1.4\bin\keytool -genkey -keyalg rsa -alias sirTif 

4.  

5. C:\Winnt\Profiles\Mick\.keystore 

6.  

7.  

8. j2sdk1.4\bin\jar  cvf  t.jar  . 

9.  

10. ...\bin\jarsigner  t.jar  sirTif 

11.  

12. ....\bin\jarsigner -verify -verbose -certs  t.jar 

13.  

14. ( HTML

15. <APPLET 

16. ARCHIVE="t.jar" 

17. ..etc.. 

18.

19.  

20. keytool -certreq -alias sirTif 

21.  

22. -----BEGIN NEW CERTIFICATE REQUEST----- 

23. MIIBqDCCARlt2bq4AsajMIHviOxdhhVzwsJjvVcmKF1po........ 

24. ....... 

25. .............rqbwfHm3R1DowK878gqVC3WvCFLwo8gUxS6V/Mk

26. -----END NEW CERTIFICATE REQUEST----- 

27.  

28. keytool -import -alias sirTif -file  edp.cert 

29.  

30. keytool -delete -alias sirTif 

31.  

32. ===== regular aps, no browser plugin : ========= 

33. keytool -export -alias sirTif  -rfc  -file sirtifpk.cer 

34. ( Copy sirtifpk.cer to client station and on that station : ) 

35. keytool -import -alias sirtifpk -file sirtifpk.cer 

36.  

37.