certificate

What are the different ways to authenticate two different server securely apart from OAuth and SAML?

空扰寡人 提交于 2020-01-01 19:26:06
问题 Background: I want to integrate SSO in my existing application with my client's application and client IDP does not support any SAML and OAuth standards. Problem Statement: I'm looking for a custom solution where if any client application simply opens a link of my application then my application must be able to recognise that user/client and should auto logged-in into my application. Though, I've done enormous research before asking this question in this forum: My findings so far: Some of my

QNetworkRequest with ssl local certificate

孤街浪徒 提交于 2020-01-01 18:43:14
问题 I need to exchange data with server which requires local certificate (.crt file). I try this: loginRequest = QNetworkRequest(QUrl("https://somesite.com/login")); QSslConfiguration sslConf = loginRequest.sslConfiguration(); QList<QSslCertificate> certs = QSslCertificate::fromPath(Preferences::certificatePath()); qDebug() << certs.first().issuerInfo(QSslCertificate::Organization); // prints name sslConf.setLocalCertificate(certs.first()); qDebug() << "is valid " << sslConf.localCertificate()

How does one install ssl certificates programatically (OpenSSL)

爷,独闯天下 提交于 2020-01-01 17:25:30
问题 I have an application which I am working on for a client which in summary allows each of their clients to create their own own version of the application by customizing the templates and associate their own domain name (all the code is located on my clients server). The problem I am faced with is that when such users create their own branded version with their own domain name and then want to login to their admin the system can't provide https authentication. I am aware that one can create a

Cannot import certificate into java control panel

蓝咒 提交于 2020-01-01 14:42:12
问题 I am trying to import a self-signed certificate into the trusted certificates in the java control panel. it is under the security tab-> Manage Certificates. No matter how simple the password is i set on the keystore, the import program always tells me my password is invalid after i type it in. I have also tried changing the certificate type but no luck..li tried all of them. Here are the simple steps i used to create my files keytool -genkey -keyalg RSA -keysize 2048 -keystore test_keystore

Error while Importing public certificate to a keystore

喜夏-厌秋 提交于 2020-01-01 08:47:26
问题 I have a public certificate from a CA. I want to create a Java SSL connection using this certificate. I referred How can I use different certificates on specific connections? and Java SSL connection with self-signed certificate without copying complete keystore to client. From this I understand that I need to import the certificate into a keystore. However I haven't received any keystore from the CA. I created a keystore and tried to import the public certificate to it. But then I get the

Import certificate into VisualSVN Server

你。 提交于 2020-01-01 08:25:09
问题 Is it possible to import the valid certificate of the Windows Server, where VisualSVN is installed, into VisualSVN? 回答1: Read the article KB134: Configuring SSL Certificates for VisualSVN Server and don't miss the relevant Getting Started section. UPDATE: Importing certificates in pfx format implemented VisualSVN Server 2.6: https://www.visualsvn.com/server/changes/2.6/ Yes, it's possible. Please consider the following steps: Export certificate and private key to pfx format Convert

certificate verify failed for mercurial VCS in teamcity

五迷三道 提交于 2020-01-01 06:58:09
问题 I am trying to configure mercurial with teamcity but getting the following error: stderr: abort: error: _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed tried solutions mentioned in following link of signed certificates but nothing seems to be working. https://www.mercurial-scm.org/wiki/CACertificates#Manually_bypassing_security_checks_on_self-signed_certificates Any Idea what I am missing here. Please guide 回答1: Fix the problem by putting the

Why I can't add APNs Development iOS typed certificate to provisioning profile

女生的网名这么多〃 提交于 2020-01-01 06:49:06
问题 I am trying to implement APNS for my App. I created APP id and was able to generate an SSL certificate for my App (the type is shown to be APNs development IOS). However, when I try to generate a provisioning profile, following the screen where I choose the AppID of my app, I do not see the SSL certificate I generate for this app. In the certificates list, I only see certificates of type 'IOS development' that were created previously. 回答1: The APNs certificate that you created is used by what

Loading X509Certificate from /assets/filename public key is not correct

瘦欲@ 提交于 2020-01-01 03:43:06
问题 I have the following code running in java on windows and it works like a charm. I am using a certificate with a 2048 RSA key that i generated with OpenSSL. The important piece to look at is the mServerPublicKey = cert.getPublicKey(); I need the public key for my use case. String serverCertFile = "C:\\Users\\Me\\Documents\\cert.pem"; CertificateFactory certFactory; FileInputStream inStream; try { certFactory = CertificateFactory .getInstance("X.509"); inStream = new FileInputStream

Cannot generate Apple Passbook signature

烈酒焚心 提交于 2020-01-01 03:37:18
问题 I am writing a shell script to automatically generate an Apple Passbook signature file from manifest.json using p12 certificate. Here is what I do: openssl pkcs12 -passin pass:"mypass" -in "mycert.p12" -clcerts -nokeys -out certificate.pem openssl pkcs12 -passin pass:"mypass" -in "mycert.p12" -nocerts -out key.pem openssl smime -passin pass:"mypass" -binary -sign -signer certificate.pem -inkey key.pem -in manifest.json -out signature -outform DER The first two functions work fine. At least