Hello everyone! I have upgraded to the latest ver...
# sdf
p
Hello everyone! I have upgraded to the latest versions of SDF. And am having a nightmare with authroization to different accounts of my clients. I decided to configure access via certificate. I did everything according to the instructions. Got a certifcate id. But I get an error.
Copy code
Unexpected error. Verify the certificate file ***/private.pem.
I use the command
Copy code
suitecloud account:setup:ci --account TSTDRV*** --authid BP-DEV --certificateid *** --privatekeypath ./private.pem
Under * I have hidden my private data. NOTE I noticed that if I substitute any path after
privatekeypath
the error does not change Thank you in advance!
s
One thing you could try is passing an absolute path. And make sure your user and key file have sufficient read permissions
Or if it's relative ensure you're running the command from within the same dir
Also make sure you're using a valid private key, the file usually starts with: "-----BEGIN PRIVATE KEY-----"
p
I appreciate the answer. Everything mentioned is done, but no luck. Looks like a bug, but too strange.
e
does browser authentication work for you?
p
Yes it works.
But it's not convenient to update the token every time. Especially when you work with several accounts during the day.
e
is that required? wow.
p
Yeah. I have a few clients.
e
same here! this is new to me. ok, thanks
p
This issue has been resolved. The fix is in the next comment.
e
FYI, I tried using Browser connectivity and it works like a charm - with multiple accounts. So far, I’ve connected to six accounts and can switch between them without issue.