이전 항목: 인증서 명령다음 항목: 인증서 가져오기


자체 서명된 인증서 생성

-genkey 명령을 사용하여 자체 서명된 보안 인증서를 생성할 수 있습니다. 이 명령을 사용하여 모든 키 저장소에 대해 자체 서명된 인증서를 생성할 수 있습니다.

다음 단계를 따르십시오.

  1. CA APM 서버에 루트로 로그인하고 명령 프롬프트에 액세스합니다.
  2. $JAVA_HOME/bin/keytool로 이동하고 -genkey 명령을 사용하여 유틸리티를 실행합니다. 예:
    -genkey -keyalg RSA -keystore <SCARVES_HOME>/keystores/daemoncert -alias <cert_alias> 
    

    조직의 콘텐츠를 지정하는 대화식 프로세스가 시작되며, 다음과 같은 정보가 표시됩니다.

    
    
    Enter keystore password: changeit
    Re-enter new password: changeit
    What is your first and last name?
      [Unknown]:  name.company.com
    What is the name of your organizational unit?
      [Unknown]:  ABC
    What is the name of your organization?
      [Unknown]:  NOC
    What is the name of your City or Locality?
      [Unknown]:  Anytown
    What is the name of your State or Province?
      [Unknown]:  Alaska
    What is the two-letter country code for this unit?
      [Unknown]:  US
    Is CN=name.company.com, OU=ABC, O=NOC, L=Anytown,
    ST=Alaska, C=US correct?
      [no]:  yes
    
    Enter key password for <newcert>
            (RETURN if same as keystore password):