Re: [Interest] macOS: troubles using my own CA

2022-07-20 Thread Dan Riegsecker
Alexander, I cannot thank you enough for sharing your discovery! This problem has driven me nuts for about a year now. Thanks so much for sharing! Dan > On Jul 19, 2022, at 3:52 PM, Alexander Dyagilev wrote: > > // This avoids using the default keychain for SSL, which may cause > // password

Re: [Interest] macOS: troubles using my own CA

2022-07-19 Thread Alexander Dyagilev
Hello, Accidentally, found the solution for this issue: |// This avoids using the default keychain for SSL, which may cause // password prompts on macOS. qputenv("QT_SSL_USE_TEMPORARY_KEYCHAIN", "1");| On 7/12/2022 11:21 AM, Alexander Dyagilev wrote: Hello, I'm on macOS Big Sur 11.5.1. F

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Frank Osterfeld via Interest
> On 14. Jul 2022, at 10:19, Alexander Dyagilev wrote: > > Yes, I've removed my own OpenSSL libraries built for macOS and Qt 6.3.0 > switched to SecureTransport and also started to show that message. > > So: > > Qt 5.12 : uses SecureTransport ALWAYS. > > Qt 6.3 : defaults to OpenSSL, if ava

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
Yes, I've removed my own OpenSSL libraries built for macOS and Qt 6.3.0 switched to SecureTransport and also started to show that message. So: Qt 5.12 : uses SecureTransport ALWAYS. Qt 6.3 : defaults to OpenSSL, if available. Falls back to SecureTransport if not. So. Is there a way to force

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
On 7/12/2022 11:14 PM, Frank Osterfeld via Interest wrote: SecureTransport is deprecated by Apple, but the backend is still the default in 6.3. So unless Alexander explicitly enabled OpenSSL for one or the other, it wouldn’t expect big changes here. Ha-ha, I've just checked - Qt 6.3 uses Ope

Re: [Interest] macOS: troubles using my own CA

2022-07-13 Thread Alexander Dyagilev
On 7/12/2022 11:14 PM, Frank Osterfeld via Interest wrote: From what I know, SecureTransport is the default used on macOS since Qt 5.10.0 (running configure in 5.10.0 qtbase seems to confirm this). Yes, it seems your are right. SecureTransport is deprecated by Apple, but the backend is sti

Re: [Interest] macOS: troubles using my own CA

2022-07-13 Thread Alexander Dyagilev
Hello, I think you are wrong. Qt 5.12.12: QSslSocket::sslLibraryVersionString reports that it's Secure Transport. On 7/12/2022 9:05 PM, Thiago Macieira wrote: Qt 6.3 uses a completely different implementation of SSL on a Mac from 5.x. It uses the Apple API in SecureTransport, while Qt 5 uses

Re: [Interest] macOS: troubles using my own CA

2022-07-12 Thread Frank Osterfeld via Interest
> On 12. Jul 2022, at 20:05, Thiago Macieira wrote: > > On Tuesday, 12 July 2022 01:21:07 PDT Alexander Dyagilev wrote: >> Again, if, after that, I build app using Qt 6.3.0 and launch it - this >> message never appears. >> >> So, this must be an issue with Qt 5.12. What I want to ask for: is t

Re: [Interest] macOS: troubles using my own CA

2022-07-12 Thread Thiago Macieira
On Tuesday, 12 July 2022 01:21:07 PDT Alexander Dyagilev wrote: > Again, if, after that, I build app using Qt 6.3.0 and launch it - this > message never appears. > > So, this must be an issue with Qt 5.12. What I want to ask for: is there > any known workaround to suppress this message under Qt 5.

[Interest] macOS: troubles using my own CA

2022-07-12 Thread Alexander Dyagilev
Hello, I'm on macOS Big Sur 11.5.1. First, I must say, that there are NO problems when I use Qt 6.3.0. But, I HAVE TO use Qt 5.12.12, so please if anyone know something that can help - please help :) I have my own server, written on Qt, on SSL sockets, with my own CA certificate. I install