<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/</id><updated>2021-06-08T09:57:42.188000Z</updated><subtitle>Recent posts to Webserver fails to read certificate</subtitle><entry><title>Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/?limit=25#82ec" rel="alternate"/><published>2021-06-08T09:57:42.188000Z</published><updated>2021-06-08T09:57:42.188000Z</updated><author><name>appling</name><uri>https://forge.codesys.com/u/appling/</uri></author><id>https://forge.codesys.comb7c02587fb81e81be78fdd9762a89bebfd46af92</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, thank you again for your input.&lt;br/&gt;
I could not find any documentation on the Security Agent and the store seems to be unavailable now.&lt;br/&gt;
For now it would be enough for me if I could access the web visu at all, so http would be fine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/?limit=25#725e" rel="alternate"/><published>2021-06-08T09:45:01.828000Z</published><updated>2021-06-08T09:45:01.828000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com3f8b96de9f43c2bd73061b4c9fd2d2e6dd5fae49</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hm.. strange, could us use the Security Agent to generate a selfsigned certificate?&lt;br/&gt;
Do you want to access the webvisu pages by http: or encrypted by https: ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/?limit=25#33e2" rel="alternate"/><published>2021-06-08T07:18:36.425000Z</published><updated>2021-06-08T07:18:36.425000Z</updated><author><name>appling</name><uri>https://forge.codesys.com/u/appling/</uri></author><id>https://forge.codesys.comc6c6fb1e9bf07c848548032b3857ad7b294888b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, thank you for the quick response.&lt;br/&gt;
This is the exported log file:&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/?limit=25#99de" rel="alternate"/><published>2021-06-08T07:06:44.917000Z</published><updated>2021-06-08T07:06:44.917000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comdc1bcf8759fdb65b895ccdba1f51a03bd7505b1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;could you give us the whole log?&lt;br/&gt;
the lines above seems not to be the problem&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webserver fails to read certificate</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/52238c0ec9/?limit=25#8ad3" rel="alternate"/><published>2021-06-08T06:56:11.510000Z</published><updated>2021-06-08T06:56:11.510000Z</updated><author><name>appling</name><uri>https://forge.codesys.com/u/appling/</uri></author><id>https://forge.codesys.comd1b7aac50755f2a3472d2355f1bbec58093a76df</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I have a Linux 64Bit soft PLC that is supposed to run a web visualization.&lt;br/&gt;
I have a valid license for the runtime - the dongle is inserted to the device and is read successfully by Codesys.&lt;/p&gt;
&lt;p&gt;When I try to open the web visualization I see the red loading symbol that tells me that an error happened.&lt;/p&gt;
&lt;p&gt;I can log in to the project via the CodeSys IDE and live debug - the application works fine without exceptions.&lt;br/&gt;
In the log under "Device" I can see these two messages:&lt;/p&gt;
&lt;p&gt;TlsCreateContext: Creating the TLS context for namespace 'WebServer' failed.&lt;br/&gt;
TlsCreateContext: Failes to read certificate './PKI/cert/server.cer' in namespace: 'WebServer'&lt;/p&gt;
&lt;p&gt;Has anyone experienced this issue before? How do I resolve it?&lt;br/&gt;
Of course I have rebooted the device multiple times and have even re-installed the runtime. I have also tried going back to an old backup of the project where the web visu was still working - but I get the same error...&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>