title: Error | entroll the member admin | fabric-ca-client enroll | Amazon Managed Blockchain
body: <p>I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following <a href="https://docs.aws.amazon.com/managed-blockchain/latest/managementguide/get-started-enroll-admin.html" rel="nofollow noreferrer">this guide</a>. To entroll, I have used the following command,</p>
  <pre><code>fabric-ca-client enroll -u 'https://admin:#D7a22hjjh*9b9@ca.m-zzz.n-zzzz.managedblockchain.us-east-1.amazonaws.com:30002' --tls.certfiles /home/ec2-user/managedblockchain-tls-chain.pem -M /home/ec2-user/admin-msp
  </code></pre>
  <p>I got the following error,</p>
  <pre><code>Error: The URL of the fabric CA server is missing the enrollment ID and secret; found 'https://admin:#D7a22613ac75c9b9@ca.m-zzz.n-zzzz.managedblockchain.us-east-1.amazonaws.com:30002' but expecting 'https://&lt;enrollmentID&gt;:&lt;secret&gt;@admin:'
  </code></pre>
  <p>I thought this is due to # symbol in the password. For testing purpose I remove the # symbol and tried. I got the following error.</p>
  <pre><code>Error: Failed to create keystore directory: mkdir /home/ec2-user/admin-msp: permission denied
  </code></pre>
  <p>when I use sudo, I am getting the following error,</p>
  <pre><code>sudo: fabric-ca-client: command not found
  </code></pre>
  <p>Help me to fix this issue.</p>