zdavatz/AmiKo-iOS

SSL Error in Simulator

Closed this issue · 4 comments

  1. Login to HIN and AD Suisse.
  2. Create a prescription.
  3. Sign the prescription.
  4. This Error pops up.
  5. Bildschirmfoto 2023-08-10 um 09 50 08
  1. Create a certificate with: sudo certbot certonly -d certifaction.ywesee.com
<VirtualHost *:80>
  ServerName certifaction.ywesee.com
  Redirect permanent / https://certifaction.ywesee.com
</VirtualHost>

<VirtualHost *:443>
#<VirtualHost *:80>
  ProxyPreserveHost On
  ServerName certifaction.ywesee.com
  ProxyPass  /excluded !
  ProxyPass / http://127.0.0.1:8082/
  ProxyPassReverse / http://127.0.0.1:8082/
  SSLEngine on
  SSLCertificateFile /etc/letsencrypt/live/certifaction.ywesee.com/cert.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/certifaction.ywesee.com/privkey.pem
  SSLCertificateChainFile /etc/letsencrypt/live/certifaction.ywesee.com/chain.pem
</VirtualHost>

this also had to change: #define CERTIFACTION_SERVER @"https://certifaction.ywesee.com"