Question
How to configure myQA Daily for https / secure communication (SSL/TLS)?
Answer
The default URL of myQA Daily is http://localhost:58321/.
For configuring myQA Daily for https access, please open the following file:
C:\ProgramData\IBA Dosimetry\myQA Daily\appsettings.json
By default it looks as follows:
{
"HttpServer": {
"Endpoints": {
"Http": {
"Host": "localhost",
"Port": 58321,
"Scheme": "http"
}
//"Https": {
// "Host": "localhost",
// "Port": 44340,
// "Scheme": "https",
// "CertificateFilePath": "localhost.pfx",
// "CertificatePassword": "YourSecurePassword"
//}
}
}
}
In order to enable https for myQA Daily include the https section in appsettings.json by removing // at the beginning of the line (uncomment this section).
Update CertificateFilePath with the path to your certificate and CertificatePassword with the certificate password. If necessary you can also adjust the Port.
If you want to disable http access, please add // at the beginning of the first section (comment this section).
Then the configuration file looks similar as follows:
{
"HttpServer": {
"Endpoints": {
//"Http": {
// "Host": "localhost",
// "Port": 58321,
// "Scheme": "http"
//}
"Https": {
"Host": "localhost",
"Port": 44340,
"Scheme": "https",
"CertificateFilePath": "mycertificate.pfx",
"CertificatePassword": "mycertificatepassword"
}
}
}
}
At the end, please restart the Windows service myQA Daily to bring the changes into effect.