I'm trying to program a bot, which can book rooms. Problem is the emulator can't reach the bot. I'm using the url https://localhost:44378/api/messages as an endpoint. The emulator shows the message:" request … failed, reason: unable to verify the first certificate". Strange thing is, when i go to the site on Internet Explorer, it says i have a valid certificate. I know the program works. I am using IIS express and the program should be using a self signed certificate for HTTPS. Any ideas ?
According to a member of the emulator team, it's an underlying issue with the emulator:
We are not likely to fix this since it may introduce security vulnerabilities and non-ssl alternatives exist. If you must run your bot locally using SSL, please consider using a free CA like https://letsencrypt.org/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.