I succesfully used libsoup to request an API using https in C used from C++. However when I build in release mode my request would get rejected with status 6: unacceptable TLS certificate.
I tried to get more information and found out the "tls-database" property of my SoupSession was NULL in release mode and was a valid pointer in Debug mode.
I tried to dig into the glib sources to find possible informations on how GTlsDatabase was built but was unable to find the specific Windows implementations to understand the issue...
I use the glib/libsoup included in GStreamer 1.12.4 installer for Windows (10) which is libsoup 2.56.0.
Is there a way to specifically load the certificate (found nothing on that too) or is there a specific env var that would be available in debug mode only? Is there a bug I didn't find in the bugs reported?
Related
I have downloaded and installed PostgreSQL 12 (64 bit) on a developer machine running Windows 10 Pro Education (64 bit).
When the installation came to the Stack Builder download application list step, an error occurred as follows:
A certification verification problem was encountered whilst accessing https://www.postgresql.org/applications-v2.xml schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline. This means that the source download cannot be verified. It is recommended that you do not continue with the download as it may be coming from a site that is pretending to be the intended download site and may contain viruses or malware.
Do you wish to continue?
I have tried to use Proxy servers referring to this answer. https://serverfault.com/questions/555125/postgresql-stack-builder-installation-proxy-setting-on-windows
I have also tried both solutions from that question. Still, I can not get the application list downloaded.
I want to install PostGIS. It seems the stack builder is safe and easy to use. What should I do to get the PostGIS installed?
Looks like https://www.postgresql.org/applications-v2.html link has some strong security. And it blocks some traffic. As #ay__ya has mentioned, in his case he made it work though VPN access. And in my case I was already behind the VPN and it was not working. So disabling VPN worked for me.
Go to https://www.postgresql.org/applications-v2.html and save as a *.CER file the certificate of the the webpage.
Using "certmgr.msc" import the *.CER file into your local certificates repository to the Trusted People store or/and Enterprise Trust store.
Rerun Stack builder and retry download application list step.
Should works now.
I have an application which has an Intel SGX Enclave. I want, from within the enclave, to create a https connection to a server (so that the session keys and other secrets are hidden in the enclave).
I saw the mbedtls-sgx github page (https://github.com/bl4ck5un/mbedtls-SGX) and I tried to build this library on Windows by changing some settings in the cmake files.
However, all my trials have been unsuccessful.
Did someone manage to use this library on Windows?
Or do you know another library I could use on Windows to build the client side of the https connection inside the enclave?
I have a jmx file where i have written selenium code with javascript. I am unable to run it in EC2 using JMeter.
Here is the error message.
unknown error chrome failed to start exited abnormally
Chrome failed to start
Looking into the log file it appears you're using ChromeDriver 2.20. It is quite an outdated version which supports Chrome (or Chromium) versions 43-48.
If you are using a newer Chrome - you have 2 options:
Upgrade to ChromeDriver 2.29 which supports Chrome versions 56-58
Downgrade your Chrome browser to version 43-48
References:
ChromeDriver Release Notes
Getting started with ChromeDriver on Desktop
The WebDriver Sampler: Your Top 10 Questions Answered
It seems you don't have neither Chrome nor specific Chromedriver on your EC2 machine.
For the latter, get it there, then you're going to set system property webdriver.chrome.driver to the path to your driver (including the executable name).
As for installing conventional chrome on that GUI-less machine - I'm quite not sure it's going to work, but you may try.
Although the package is anyway out of standard AWS package repositories, so you'd be driven to do that manually from local package.
Let me know if that helped, please.
I've created a downloader application that downloads files via the http protocol.
I used the QNetworkAccessManager/QNetworkReply/QNetworkRequest classes to achieve this.
There are several error codes listed in the QNetworkReply docs--one of them is error code 99 which is an "unknown network-related error."
On my development machine, whenever I initiate a download with the application, it downloads smoothly, and I do not receive any error code 99's.
When I deploy my application and test it on another PC that does not have Qt installed, when I initiate the download, I get error code 99 immediately; however, other functions that use the QNetworkAccessManager class work just fine, even on PCs without Qt in their environment (for example the http POST method).
I've also deployed this application with the same exact code for OS X, and the deployed versions of it do NOT get any error code 99's, and everything functions normally.
Is there any reason why I would be getting unknown network-related error on PC systems that don't have a Qt development environment?
I checked dependency-walker for all the dependencies, etc. I'm kind of at a loss and don't know how to proceed.
The problem is that the QtNetwork API uses OpenSSL for some operations, apparently. This was not made super clear in the Qt Docs. There is a class for SSL support, and I figured that I'd only need to include the SSL DLLs if I used that class, not QNetworkAccessManager:
http://qt-project.org/doc/qt-5/ssl.html
The reason it worked on my development machine is because the OpenSSL DLLs are on my PATH variable.
Including the OpenSSL DLLs in the application directory fixed the problem.
I am getting this error on IE 8 ,9 firefox and chrome. while editing content in WebSphere Portal 7.
IWKAP0010W: An applet failed to load or is unavailable. Certain Web Content Management features will not be available.
Is there any way to solve this.
This seems like there is no Java plug-in (since you mention IE8 also gives you this error) on the system you are using to access WCM authoring. Newer, auto-updating browsers such as Firefox and Chrome tend to block all but the absolute latest Oracle Java plug-in for security reasons. However, typically there is a prompt to "allow this time." IE8 doesn't do this, but you'll get the same error message from WCM (IWKAP0010W) if you have no Java plug-in installed.
There are a couple of ways you could resolve this:
Ensure that you have the latest Oracle Java Plug-In installed in on the computer doing the WCM authoring. Since you mention IE8, I suspect perhaps no Java plug-in is installed at all.
Change your authoring template to not use rich text at all
Change your content item or authoring template to use a different rich text editor that does not use a Java applet. There are others out there; IBM even ships WCM7+ a JavaScript-based rich editor that is better than plain text but has less features than Ephox EditLive! and requires no Java plug-in for authoring.
Usually the easiest is to just install Java on the authoring computer. If that's not an option (for example you don't have installation permission), you could change your content system to no longer require Java applets for editing.
You need us to give a bit more information:
Q: Which exact version of ws portal are you using?
A: 7.0.0.2 (your answer)
Q: Which culmulative fix (CF) level have you installed? (cp. fixes below)
A: ?
Q: What java version have you installed (which is running in the webbrowser)?
A: ?
Q: Did you check the java plugin and the webbrowser security settings?
A: ?
Maybe your issues have been fixed with a CF?
in CF027 Issue/Apar PI09604 (they fixed compatibility with 7u51)
in CF022 Issue/APAR PM88690 (fixed security warning)
in CF021 Issue/APAR PM81772 and PM84580 (Renewal of certificate)
in CF010 Issue/APAR PM49505 (firefox problems)
in CF002 Issue/APAR PM33239 (chrome problems)
So please update your WP7 to the latest CF and try again. Download and installing instructions are on the page provided above or here.