Skip to content

Commit

Permalink
[CE-478]adding missing connection profile fields
Browse files Browse the repository at this point in the history
Change-Id: I8658884b8e6b6594e1e4764b944e4cacb3e71960
Signed-off-by: Tong Li <litong01@us.ibm.com>
  • Loading branch information
Tong Li committed Sep 17, 2018
1 parent 7e4aa01 commit fd08855
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

- name: Rename admin private key
shell: >-
ls *_sk | cat -n | while read n f; do mv "$f" "admin_private.key"; done
ls *_sk | cat -n | while read n f; do cp "$f" "admin_private.key"; done
args:
chdir: "{{ fabricworkdir }}/keyfiles/{{ item }}/users/Admin@{{ item }}/msp/keystore"
with_items: "{{ allorgs }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ x-type: "hlfv1"
version: "1.0.0"
client:
organization: "{{ item }}"
cryptoconfig:
path: "/fabric/keyfiles"
connection:
timeout:
peer:
Expand All @@ -28,6 +30,7 @@ organizations:
{% for org in allorgs %}
{{ org }}:
mspid: "{{ org }}"
cryptoPath: "{{ org }}/users/{username}@{{ org}}/msp"
peers:
{% for peer in allpeers|selectattr('org', 'equalto', org)|list %}
- {{ peer.name }}
Expand Down Expand Up @@ -63,4 +66,6 @@ certificateAuthorities:
caName: "{{ ca.name }}"
httpOptions:
verify: false
tlsCACerts:
path: "{{ '/fabric/keyfiles/'+ca.org+'/tlsca/tlsca.'+ca.org+'-cert.pem' }}"
{% endfor %}

0 comments on commit fd08855

Please sign in to comment.