달력

122019  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  •  
  •  
  •  
  •  

'keytool'에 해당되는 글 1건

  1. 2009.05.27 keytool .keystore tomcat SSL (1)

keytool .keystore tomcat SSL

java 2009. 5. 27. 06:18
every 3rd months

[root@169s /root]# rm -rf .keystore
[root@169s /root]# $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:
Re-enter new password:
What is your first and last name?
  [Unknown]:  www.okjsp.pe.kr
What is the name of your organizational unit?
  [Unknown]:  okjsp
What is the name of your organization?
  [Unknown]:  okjsp
What is the name of your City or Locality?
  [Unknown]:  seoul
What is the name of your State or Province?
  [Unknown]:  seoul
What is the two-letter country code for this unit?
  [Unknown]:  KR
Is CN=www.okjsp.pe.kr, OU=okjsp, O=okjsp, L=seoul, ST=seoul, C=KR correct?
  [no]:  y

Enter key password for <tomcat>
        (RETURN if same as keystore password):
Re-enter new password:


related: http://okjsp.tistory.com/1165643564

Posted by 케누 kenu허광남

댓글을 달아 주세요

  1. pungjoo  댓글주소 수정/삭제 댓글쓰기 2009.05.29 10:33

    man keytool

    -validity valDays

    valDays tells the number of days for which the certificate should be considered valid

    Validity Period

    Each certificate is valid only for a limited amount of time. This period is described by a start date and time and an end date and time, and
    can be as short as a few seconds or almost as long as a century. The validity period chosen depends on a number of factors, such as the
    strength of the private key used to sign the certificate or the amount one is willing to pay for a certificate. This is the expected period
    that entities can rely on the public value, if the associated private key has not been compromised.