you are actually using the Apache web server, but you are incorrectly trying to follow instructions for IIS - certbot is fine for what you need (Apache). but you need to configure Apache to use your certificate files.
port 443 is not open, so https will never work until you fix that.
[Edit: if you try to use other tools like win-acme and Certify The Web they can be configured to get a certificate for you, but you already have that. The errors you are seeing with win-acme is because Apache is using port 80, so just stick with Certbot.]
i tried with wacs.exe and it says that changes were made succefully
3: No (additional) installation steps
Which installation step should run first?: 3
Plugin Manual generated source forgottennot.online with 1 identifiers
Plugin Single created 1 order
Cached order has status invalid, discarding
Validation plugin SelfHosting is not available. Run as administrator to allow opening a HTTP listener.
[forgottennot.online] Authorizing...
[forgottennot.online] Authorizing using http-01 validation (FileSystem)
Answer should now be browsable at http://forgottennot.online/.well-known/acme-challenge/F4yWoC4blbwKC60Tw2Zz4Ah3CYxH8VW2AB7JKGWhwOU
Preliminary validation looks good, but the ACME server will be more thorough
[forgottennot.online] Authorization result: valid
Downloading certificate [Manual] forgottennot.online
Store with CentralSsl...
Copying certificate to the CentralSsl store
Saving certificate to CentralSsl location C:\xampp\htdocs\forgottennot.online.pfx
Adding Task Scheduler entry with the following settings
Time limit 02:00:00
Unable to register scheduled task, please run as administrator or equivalent
Adding renewal for [Manual] forgottennot.online
Next renewal due after 2023/10/31
Certificate [Manual] forgottennot.online created
Do you know what Apache is? You've mentioned IIS again but your command shows XAMP.
Please write a sentence on what you think Apache and IIS are to clarify your understanding, that will help us see if you are following what we are saying.
Which web server are you intending to use? The volunteers here can help with any of them, but you need to pick one and you appear to be currently using Apache. Apache needs its config to be updated to point to PEM files and cannot use a PFX file. SSL/TLS Strong Encryption: How-To - Apache HTTP Server Version 2.4