Results

By type

          + export APP_FQI=dcae@dcae.onap.org
+ APP_FQI=dcae@dcae.onap.org
+ export aaf_locate_url=https://aaf-locate.onap:8095
+ aaf_locate_url=https://aaf-locate.onap:8095
+ export aaf_locator_container=oom
+ aaf_locator_container=oom
+ export aaf_locator_container_ns=onap
+ aaf_locator_container_ns=onap
+ export aaf_locator_app_ns=org.osaaf.aaf
+ aaf_locator_app_ns=org.osaaf.aaf
+ export DEPLOY_FQI=deployer@people.osaaf.org
+ DEPLOY_FQI=deployer@people.osaaf.org
+ export 'DEPLOY_PASSWORD=demo123456!'
+ DEPLOY_PASSWORD='demo123456!'
+ export cadi_longitude=-72.0
+ cadi_longitude=-72.0
+ export cadi_latitude=38.0
+ cadi_latitude=38.0
+ export aaf_locator_fqdn=dcae
+ aaf_locator_fqdn=dcae
+ export TLS_SERVER=true
+ TLS_SERVER=true
+ ARTIFACTS=/opt/app/osaaf/local
+ TARGET=/opt/app/osaaf
+ AAFNS=org.onap.dcae
+ DUMMY_FQDN=dcae
+ rm -rf /opt/app/osaaf/local
+ rm -f '/opt/app/osaaf/*'
+ '[' true == false ']'
+ /opt/app/aaf_config/bin/agent.sh
Caller Properties Initialized
cat SSO
cadi_keyfile=/root/.aaf/keyfile
aaf_id=deployer@people.osaaf.org
aaf_password=enc:tyCiIyAriSkSFCBQzJ1dNyM-Dvqd6noekfF9ErKfuF1
aaf_locate_url=https://-locator.:8095
aaf_url_cm=https://AAF_LOCATE_URL/%CNS.%NS.cm:2.1
aaf_url=https://AAF_LOCATE_URL/%CNS.%NS.service:2.1
cadi_truststore=/root/.aaf/truststoreONAPall.jks
cadi_truststore_password=changeit
cadi_latitude=
cadi_longitude=
hostname=dcae
aaf_locator_fqdn=dcae
aaf_locator_container_ns=onap
aaf_locator_container=oom
aaf_locator_app_ns=org.osaaf.aaf
cadi_longitude=-72.0
cadi_latitude=38.0
aaf_locate_url=https://aaf-locate.onap:8095
Created /opt/app/osaaf/local
Existing files in /opt/app/osaaf/local
total 0
Clean up directory /opt/app/osaaf/local
Namespace is org.onap.dcae
#### Create Configuration files 
Writing to /opt/app/osaaf/local
Writing file /opt/app/osaaf/local/org.onap.dcae.keyfile
Password for dcae@dcae.onap.org (leave blank for NO password): Passed in Truststore is /root/.aaf/truststoreONAPall.jks
New Truststore is /opt/app/osaaf/local/truststoreONAPall.jks
Creating new /opt/app/osaaf/local/org.onap.dcae.cred.props
Creating new /opt/app/osaaf/local/org.onap.dcae.location.props
Creating new /opt/app/osaaf/local/org.onap.dcae.props
2021-08-13T07:41:23.137+0000: Trans Info
         REMOTE Get Configuration 1068.4545ms
 
############################################################
# Properties Generated by AT&T Certificate Manager
#   by root
#   on 2021-08-13T07:41:23.135+0000
# @copyright 2019, AT&T
############################################################
aaf_env=DEV
aaf_id=dcae@dcae.onap.org
aaf_locate_url=https://aaf-locate.onap:8095
aaf_locator_app_ns=org.osaaf.aaf
aaf_locator_container=oom
aaf_locator_container_ns=onap
aaf_locator_fqdn=dcae
aaf_oauth2_introspect_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.introspect:2.1/introspect
aaf_oauth2_token_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.token:2.1/token
aaf_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1
aaf_url_cm=https://AAF_LOCATE_URL/%CNS.%AAF_NS.cm:2.1
aaf_url_fs=https://AAF_LOCATE_URL/%CNS.%AAF_NS.fs:2.1
aaf_url_gui=https://AAF_LOCATE_URL/%CNS.%AAF_NS.gui:2.1
aaf_url_hello=https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.hello:2.1
aaf_url_oauth=https://AAF_LOCATE_URL/%CNS.%AAF_NS.oauth:2.1
cadi_prop_files=/opt/app/osaaf/local/org.onap.dcae.location.props:/opt/app/osaaf/local/org.onap.dcae.cred.props
cadi_protocols=TLSv1.1,TLSv1.2

#### Certificate Authorization Artifact
2021-08-13T07:41:23.513+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
2021-08-13T07:41:23.534+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
2021-08-13T07:41:23.535+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
AppID:          dcae@dcae.onap.org
  Sponsor:       mmanager@osaaf.org
Machine:         dcae
CA:              local
Types:           file,jks,pkcs12,script
Namespace:       org.onap.dcae
Directory:       /opt/app/osaaf/local
O/S User:        root
Renew Days:      60
Notification     mailto:
2021-08-13T07:41:24.821+0000: Trans Info
         Read Artifact 626.811ms
 
#### Place Certificates (by deployer)
2021-08-13T07:41:25.095+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
2021-08-13T07:41:25.112+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
2021-08-13T07:41:25.113+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
Writing to /opt/app/osaaf/local
Writing file /opt/app/osaaf/local/org.onap.dcae.crt
Writing file /opt/app/osaaf/local/org.onap.dcae.key
Writing file /opt/app/osaaf/local/org.onap.dcae.jks
Writing file /opt/app/osaaf/local/org.onap.dcae.trust.jks
Writing file /opt/app/osaaf/local/org.onap.dcae.p12
Writing file /opt/app/osaaf/local/org.onap.dcae.trust.jks
Writing file /opt/app/osaaf/local/org.onap.dcae.check.sh
Writing file /opt/app/osaaf/local/org.onap.dcae.crontab.sh
Backing up /opt/app/osaaf/local/org.onap.dcae.cred.props
2021-08-13T07:41:27.082+0000: Trans Info
         REMOTE Place Artifact 1170.0851ms
        Reconstitute Private Key 0.524773ms
        Reconstitute Private Key 0.077275ms
 
Obtained Certificates
#### Validate Configuration and Certificate with live call
2021-08-13T07:41:27.392+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
2021-08-13T07:41:27.416+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
2021-08-13T07:41:27.416+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
Validating Configuration...
2021-08-13T07:41:28.191+0000 INIT [cadi] X509 Chain
  0)
    Subject: C=US, O=ONAP, OU=OSAAF, OU=dcae@dcae.onap.org:DEV, CN=dcae
    Issuer : CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US
    Expires: Sat Aug 13 07:41:26 GMT 2022
  1)
    Subject: CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US
    Issuer : C=US, O=ONAP, OU=OSAAF
    Expires: Thu Aug 17 18:51:37 GMT 2023

2021-08-13T07:41:28.198+0000 INIT [cadi] https.protocols loaded from System Properties
2021-08-13T07:41:28.198+0000 INIT [cadi] jdk.tls.client.protocols loaded from System Properties
2021-08-13T07:41:28.253+0000 INIT [cadi] RegistrationProperty: default_container='oom'
2021-08-13T07:41:28.253+0000 INIT [cadi] RegistrationProperty: public_port='null'
2021-08-13T07:41:28.259+0000 INIT [cadi] RegistrationProperty: hostname='onap-dcae-dashboard-f5b9b94c7-hs5p2'
2021-08-13T07:41:28.259+0000 INIT [cadi] RegistrationProperty: public_fqdn='onap-dcae-dashboard-f5b9b94c7-hs5p2'
2021-08-13T07:41:28.260+0000 INIT [cadi] RegistrationProperty: default_name='%NS.%N'
2021-08-13T07:41:28.260+0000 INIT [cadi] RegistrationProperty: latitude='38.0'
2021-08-13T07:41:28.261+0000 INIT [cadi] RegistrationProperty: longitude='-72.0'
2021-08-13T07:41:28.261+0000 INIT [cadi] RegistrationProperty: default_fqdn='dcae'
2021-08-13T07:41:28.261+0000 INIT [cadi] RegistrationProperty: default_container_ns='onap'
2021-08-13T07:41:28.262+0000 DEBUG [cadi] RegistrationReplacement from AAFCon, source: https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1, dot_le: .oom, value: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.263+0000 INFO [cadi] AAFCon has URL of https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.323+0000 DEBUG [cadi] Configured AbsAAFLocator not found"LocatorCreator is not set"Continuing Locator creation 
2021-08-13T07:41:28.323+0000 DEBUG [cadi] RegistrationReplacement from Config.loadLocator, source: https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1, dot_le: .oom, value: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.323+0000 INFO [cadi] loadLocator URL is https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.326+0000 DEBUG [cadi] RegistrationReplacement from AAFLocator, source: https://AAF_LOCATE_URL, dot_le: .oom, value: https://aaf-locate.onap:8095
2021-08-13T07:41:28.326+0000 INFO [cadi] AbsAAFLocator AAF URI is https://aaf-locate.onap:8095/locate
2021-08-13T07:41:28.327+0000 DEBUG [cadi] RegistrationReplacement from AAFLocator, source: onap.org.osaaf.aaf.service:2.1, dot_le: .oom, value: onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.327+0000 INFO [cadi] AbsAAFLocator name is https://aaf-locate.onap:8095/locate
2021-08-13T07:41:28.357+0000 DEBUG [cadi] Root URI: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
2021-08-13T07:41:28.357+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
Success connecting to https://aaf-service.onap:8100
   Permissions for dcae@dcae.onap.org
	org.onap.aai.resources|*|delete
	org.onap.aai.resources|*|get
	org.onap.aai.resources|*|patch
	org.onap.aai.resources|*|post
	org.onap.aai.resources|*|put
	org.onap.aai.traversal|*|advanced
	org.onap.dcae.certman|local|request,ignoreIPs,showpass
	org.onap.dmaap-dr.feed|*|*
	org.onap.dmaap-dr.sub|*|*
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|sub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PM_MAPPER|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PM_MAPPER|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_READY|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_READY|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_REGISTRATION|sub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_REGISTRATION|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540393649|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540393649|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398384|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398384|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398410|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398410|view
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.topic-000|pub
	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.topic-000|view
	org.onap.dmaap.mr.topic|org.onap.dmaap.mr.PM_MAPPER|pub
	org.onap.dmaap.mr.topic|org.onap.dmaap.mr.PM_MAPPER|sub
Initialization complete
+ /opt/app/aaf_config/bin/agent.sh + aafcli grep cadi_keystore_password_p12
showpass dcae@dcae.onap.org dcae
+ cut -d = -f 2-
+ tr -d '\n'
+ /opt/app/aaf_config/bin/agent.sh aafcli showpass dcae@dcae.onap.org dcae
+ grep cadi_keystore_password_jks=
+ + cut -d = -f 2-
tr -d '\n'
+ /opt/app/aaf_config/bin/agent.sh aafcli showpass dcae@dcae.onap.org dcae
+ grep cadi_truststore_password=
+ tr -d '\n'
+ cut -d = -f 2-
+ cp /opt/app/osaaf/local/org.onap.dcae.p12 /opt/app/osaaf/cert.p12
+ cp /opt/app/osaaf/local/org.onap.dcae.jks /opt/app/osaaf/cert.jks
+ cp /opt/app/osaaf/local/org.onap.dcae.trust.jks /opt/app/osaaf/trust.jks
+ openssl pkcs12 -in /opt/app/osaaf/cert.p12 -passin file:/opt/app/osaaf/p12.pass -nodes -nokeys -out /opt/app/osaaf/cert.pem
+ openssl pkcs12 -in /opt/app/osaaf/cert.p12 -passin file:/opt/app/osaaf/p12.pass -nodes -nocerts -out /opt/app/osaaf/key.pem
+ chmod 644 /opt/app/osaaf/cert.pem /opt/app/osaaf/key.pem
+ echo ''
+ keytool -exportcert -rfc -file /opt/app/osaaf/cacert.pem -keystore /opt/app/osaaf/local/org.onap.dcae.trust.jks -alias ca_local_0
Enter keystore password:  
*****************  WARNING WARNING WARNING  *****************
* The integrity of the information stored in your keystore  *
* has NOT been verified!  In order to verify its integrity, *
* you must provide your keystore password.                  *
*****************  WARNING WARNING WARNING  *****************

Certificate stored in file 
+ '[' true == false ']'