codefori / vscode-ibmi

🌍 IBM i development extension for VS Code
https://codefori.github.io/docs/#/
MIT License
284 stars 92 forks source link

Code for IBM i - IBM i Debug extension #2217

Open ctl719zulu opened 2 months ago

ctl719zulu commented 2 months ago

Bug description:

The automatic set up for first time users of the extension did not start. This is necessary to set up the extension after installing the PTFs needed to run the extension. In addition the self generated certificates are created (managed) for the extension. As the automatic set up did not work neither could the debug extension work.

Problem described:

To Reproduce Steps to reproduce the behavior:

  1. Install the debug extension without the PTF being installed.
  2. Install the required PTF after realizing this step was missed.
  3. Run the debug extension
  4. Get message stating "Debug Service Certificate issue." Error: Local certificate not found
  5. Click on Setup button
  6. Downloading certificate. This fails as no certificate can be found.

Expected behavior: I expected the automated steps to be run. I expected the certificates to be generated as this was for local use and not for internet use. I expected the extension to work.

Screenshots:

See error:

Screenshot 2024-08-14 162253

Environment:

Additional context:

It would be helpful if the automated steps could be run on demand instead of only for new users of the extension.

chrjorgensen commented 2 months ago

@ctl719zulu Did you generate the certificates after installing the PTF's - as described in the documentation? The documentation also describes how to import the client certificate to your VS Code after generating the server and client certificates.

The order of component installation is not important - but generating the certificates at one point is a requirement. *Note: This requires *ALLOBJ authority on the IBM i system.*

ctl719zulu commented 2 months ago

Hello Christian,

I did not generate certificates after installing the PTF’s. I am not a web programmer. I am strictly an ILE RPG programmer. I did try to follow the documentation, but did not understand all of the directions. This would include the following.

  1. How to set up and use SSH for the AS/400
  2. How to set up BASH to enter commands.

Chester Horne Programmer/Analyst – Power System(AS/400) (260) 484-0382 x3217

Chester Horne

Murray Equipment, Inc Total Control Systems Alliance Tool Vulcan Manufacturing Systems KleerBlue

From: Christian Jorgensen @.> Sent: Thursday, August 15, 2024 11:08 AM To: codefori/vscode-ibmi @.> Cc: Chester Horne @.>; Mention @.> Subject: Re: [codefori/vscode-ibmi] Code for IBM i - IBM i Debug extension (Issue #2217)

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@ctl719zuluhttps://github.com/ctl719zulu Did you generate the certificates after installing the PTF's - as described in the documentationhttps://codefori.github.io/docs/developing/debug/#managing-the-debug-service? The documentation also describes how to import the client certificate to your VS Code after generating the server and client certificates.

The order of component installation is not important - but generating the certificates at one point is a requirement. Note: This requires *ALLOBJ authority on the IBM i system.

— Reply to this email directly, view it on GitHubhttps://github.com/codefori/vscode-ibmi/issues/2217#issuecomment-2291487073, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCEO3GKE3UCZEF5O25XXIZ3ZRS74DAVCNFSM6AAAAABMRB6YOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGQ4DOMBXGM. You are receiving this because you were mentioned.Message ID: @.**@.>>