certificate

Generating a list of all self-signed certs?

那年仲夏 提交于 2020-01-05 06:26:52
问题 I am trying to generate a list of all self-signed certificates in an environment using Powershell. I need this section of my script to be directed toward multiple machines(IP addresses), but am unaware of how to do so: dir cert: -Recurse | where { $_.subject -ne $ null} | where { $_.subject -eq $ _.issuer} | Export-Csv -NoTypeInformation -Encoding UTF8 -delimiter ';' -path .\ssc_export Powershell isn't my strong suit, but it's all I have available to me in this environment. Any insight would

Automating ClickOnce deployment with security (certificates, etc.) such that client installs the application without any prompt

孤人 提交于 2020-01-05 05:55:27
问题 I just read Configuring ClickOnce Trusted Publishers and got it running at another computer on network. I deployed the application on network itself (that is, \\\abc\something ). Though I could not find certmgr.exe as part of Windows core component, as the article says (..so you will need to use the certificate management console (certmgr.exe) included in Windows..), I instead found it at "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin". It worked fine, but did I miss something? I mean,

Unexpected “ The remote certificate is invalid according to the validation procedure.”

假如想象 提交于 2020-01-05 05:33:25
问题 I am trying to connect to an SMTP server from a .NetCore/Ubuntu machine via Mailkit. I am attempting to connect to port 25 on the server with SSL turned off. The mail server is a windows server on the local lan, and works fine from other machines with the same settings as are being used on the problem Ubuntu machine. The code being used to connect is as follows: using (var client = new SmtpClient()) { client.Connect("smtp.mydomain.com", 25,false); client.Authenticate(username, password);

how to extract DER encoded certificate from base64 string

一世执手 提交于 2020-01-05 05:27:07
问题 Looking for help on how to decode the following base64 MerkleTreeLeaf string. The MerkleTreeLeaf structure is a composite data structure that contains a timestamp as well as a digital certificate. The structure is encoded as a Base64 encoded byte string. Within this byte string, there is an actual certificate encoded in DER format. I am looking for a php solution to extract the DER encoded certificate. Here is a sample of the base64 encoded string AAAAAAFNDPxFcQAAAAUaMIIFFjCCBLygAwIBAgIQM

Verifying SSL certificate failing with Kohana

天涯浪子 提交于 2020-01-05 02:55:10
问题 I'm trying to use HTTPS on my localhost environment with Kohana but it keeps throwing the following error, does anyone know how to fix this? Request_Exception [ 0 ]: Error fetching remote /protected/someFunctionCall.json [ status 0 ] SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed I'm building by post requests like so: $url = "https://www.foobar.com:18443"; $data = http_build_query($params); //

wcf Error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected

半世苍凉 提交于 2020-01-04 20:47:58
问题 I am trying to call a third party service with a verisign test x.509 certificate. When I get the response message back, it generates the following error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected This error was not expected by me because I only supplied the service the one x.509 certificate. What other certificate is it using? Any insight would be appreciated! My custom binding look like: <binding name="NodalCustomBinding

wcf Error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected

久未见 提交于 2020-01-04 20:45:51
问题 I am trying to call a third party service with a verisign test x.509 certificate. When I get the response message back, it generates the following error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected This error was not expected by me because I only supplied the service the one x.509 certificate. What other certificate is it using? Any insight would be appreciated! My custom binding look like: <binding name="NodalCustomBinding

wcf Error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected

别来无恙 提交于 2020-01-04 20:44:52
问题 I am trying to call a third party service with a verisign test x.509 certificate. When I get the response message back, it generates the following error: Incoming message was signed with a token which is different from what used to encrypt body. This was not expected This error was not expected by me because I only supplied the service the one x.509 certificate. What other certificate is it using? Any insight would be appreciated! My custom binding look like: <binding name="NodalCustomBinding

Objective-C: How to verify SecCertificateRef with signer's public key?

半腔热情 提交于 2020-01-04 11:39:33
问题 I've got a certificate B which is signed with A. I have an A's public key and I want to verify the certificate if it's valid signed by A. How do I do in Objective-C? In Java, there's a verify() method in X509Certificate class http://download.oracle.com/javase/1.4.2/docs/api/java/security/cert/Certificate.html#verify%28java.security.PublicKey%29 来源: https://stackoverflow.com/questions/4666399/objective-c-how-to-verify-seccertificateref-with-signers-public-key

Kubernetes TLS secret certificate expiration

烈酒焚心 提交于 2020-01-04 06:33:20
问题 I use openssl to create a wildcard self-signed certificate. I set certificate validity duration to to ten years (I double-checked the validity duration by inspecting the certificate with openssl) I create a Kubernetes secret with the private key and certificate prepared in step 1 with following kubectl command: kubectl create secret tls my-secret -n test --key server.key --cert server.crt We use nginx ingress controller version 0.25.1 running on AWS EKS I refer to this secret in the