Skip to content

Commit

Permalink
Merge "[CE-478]adding missing connection profile fields"
Browse files Browse the repository at this point in the history
  • Loading branch information
tong li authored and Gerrit Code Review committed Sep 17, 2018
2 parents d128008 + fd08855 commit 1b4f305
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 1b4f305

Please sign in to comment.