cancel
Showing results for 
Search instead for 
Did you mean: 

facing issue while started using BTP CLI in PowerShell. getting below error

gayu61295
Explorer
0 Kudos
53

gayu61295_1-1742394809912.png

 

gayu61295_0-1742394608244.png

Only login command works in BTP CLI rest all gives error 

BTP CLI commands doesn't work in PowerShell and getting error as creating certificate check request as shown in image. is there anything else needs to be done after login to get started with CLI commands?

what commands should be used in CLI server URL [https://cli.btp.cloud.sap]> ?

PS tried commands from SAP help guide

Accepted Solutions (0)

Answers (1)

Answers (1)

abiskop
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @gayu61295, when you run btp login, it first asks you for the BTP CLI Server URL you want to use. That is the prompt you are seeing:

CLI server URL [https://cli.btp.cloud.sap]>

Just hit Enter to confirm the default it is suggesting (https://cli.btp.cloud.sap). After that, you will be asked for you credentials to log in. After logging in, you can then run btp commands.

By the way, the btp help command also works without logging in.