marcellourbani / vscode_abap_remote_fs

Remote filesystem for ABAP systems
MIT License
175 stars 28 forks source link

A request has failed(self signed certificate ). See the output for more information. #224

Closed COOPER-DENG closed 1 month ago

COOPER-DENG commented 1 month ago

HI, When I edit the ABAP code, the output console displays "Exception in syntax check: self signed certificate "; when I click the activate button, the prompt "A request has failed. See the output for more information." When connecting to abap system, I have imported the certificate to my computer, so the connection is successful, but why is "self signed certificate" still displayed here?

Cooper, Best wishes.

marcellourbani commented 1 month ago

Hi @COOPER-DENG Self signed certificates are supported, but I had mixed results recently to be clear: you can edit files but language features fail with that message, right? Can you send me your configuration (censoting passwords and similar of course)

COOPER-DENG commented 1 month ago

Hi @COOPER-DENG Self signed certificates are supported, but I had mixed results recently to be clear: you can edit files but language features fail with that message, right? Can you send me your configuration (censoting passwords and similar of course)

HI, @marcellourbani , YES, the ABAP program can be edited and activated correctly, but the output panel always displays messages related to "self signed certificate"

output.txt Snipaste_2024-10-22_10-21-28

Cooper, Best wishes.

marcellourbani commented 1 month ago

so the url is a domain name, and the server an ip number?

COOPER-DENG commented 1 month ago

domain name

HI,@marcellourbani , Yes, does it have something to do with this? I just changed the SERVER IP to the same domain name as the URL, and the result is still the same as before, no change. change. The SAPGUI parameter is only optional. I also tried to delete it, but the result remained unchanged after deletion. Cooper, Best wishes.

marcellourbani commented 1 month ago

Really weird. If I have to guess, I would say that:

Setting "allowSelfSigned": true should do the trick

COOPER-DENG commented 1 month ago

Exception in syntax check: self signed certificate

HI, @marcellourbani , YES,allowSelfSigned":true , it worked, it's the ultimate weapon. Thank you very much.

Cooper, Best wishes.