After a windows update I am unable to access the webvisualizations via HTTPS. HTTP still works as expected. When launchung the Codesys Control (Win V3 x64) I get the errors below.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= **********
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Web Server
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Root directory : $PlcLogic$/$visu$
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Host : sdsadasd
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTP port : 8080
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTPS port : 443
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Connection type : HTTP, HTTPS
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= ************
2021-02-17T03:11:58.732Z: Cmp=CmpOpenSSL, Class=1, Error=0, Info=0, pszInfo= TlsCreateContext: The given namespace 'WebServer' was not found in config file.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= The needed certificate is not available for HTTPS.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTPS is not working with your configuration. See previous log entries for details!
2021-02-17T03:14:28.972Z: Cmp=CmpWebServer, Class=1, Error=404, Info=0, pszInfo= File $PlcLogic$/$visu$/favicon.ico not found on this server
There appears to be no configuration for HTTPS in the CODESYSControl.cfg file
[CmpWebServer]
;The handling of startup/shutdown of the webserver:
;0->automatically start, shutdown only on shutdown of the runtime;1->automatically start, could be shutdown on demand
;2(default)->start/shutdown on demand;3->start on demand, shutdown only on shutdown of the runtime
;StartupType=2
;The TCP port the webserver listens on
;WebServerPortNr=8080
;LocalAddress=127.0.0.1
;LocalAdapterName=LAN-Connection
;LocalAdapterNameUnicode=L\00A\00N\00-\00C\00o\00n\00n\00e\00c\00t\00i\00o\00n\00
What changes need to be made to the config file to remedy this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a windows update I am unable to access the webvisualizations via HTTPS. HTTP still works as expected. When launchung the Codesys Control (Win V3 x64) I get the errors below.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= **********
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Web Server
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Root directory : $PlcLogic$/$visu$
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Host : sdsadasd
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTP port : 8080
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTPS port : 443
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= Connection type : HTTP, HTTPS
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= ************
2021-02-17T03:11:58.732Z: Cmp=CmpOpenSSL, Class=1, Error=0, Info=0, pszInfo= TlsCreateContext: The given namespace 'WebServer' was not found in config file.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= The needed certificate is not available for HTTPS.
2021-02-17T03:11:58.732Z: Cmp=CmpWebServer, Class=1, Error=0, Info=0, pszInfo= HTTPS is not working with your configuration. See previous log entries for details!
2021-02-17T03:14:28.972Z: Cmp=CmpWebServer, Class=1, Error=404, Info=0, pszInfo= File $PlcLogic$/$visu$/favicon.ico not found on this server
There appears to be no configuration for HTTPS in the CODESYSControl.cfg file
[CmpWebServer]
;The handling of startup/shutdown of the webserver:
;0->automatically start, shutdown only on shutdown of the runtime;1->automatically start, could be shutdown on demand
;2(default)->start/shutdown on demand;3->start on demand, shutdown only on shutdown of the runtime
;StartupType=2
;The TCP port the webserver listens on
;WebServerPortNr=8080
;LocalAddress=127.0.0.1
;LocalAdapterName=LAN-Connection
;LocalAdapterNameUnicode=L\00A\00N\00-\00C\00o\00n\00n\00e\00c\00t\00i\00o\00n\00
What changes need to be made to the config file to remedy this?