Click here to Skip to main content
15,887,214 members
Everything / Certificate

Certificate

certificate

Great Reads

by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
by Matt Pogue
I was reading a great article recently about subdomain enumeration services and it got me thinking about Let's Encrypt and internal domains.
by Bastian Eicher
CompositeJKS allows you to load a custom Java KeyStore into the SSL Context without replacing the system CA list.
by Illya Reznykov
PowerShell script which copies certificate to another storage

Latest Articles

by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
by Matt Pogue
I was reading a great article recently about subdomain enumeration services and it got me thinking about Let's Encrypt and internal domains.
by Illya Reznykov
PowerShell script which copies certificate to another storage
by amatecki
Service unit for auto reloading Docker containers running web apps behind nginx reverse proxy server after renewal of Let's Encrypt certificates managed by Certbot on Linux VPS

All Articles

Sort by Score

Certificate 

1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
25 Jan 2022 by Tony Hill
If it is a static method you should call it like this. protected void CertLogin_Click(object sender, EventArgs e) { CertSelect.GetClientCertificate(); }
25 Jan 2022 by OriginalGriff
To add to Tony's solution, let me explain the difference between static and non-static objects. C# is all about classes: everything is part of a class. But they aren't all the same. If you think of cars instead of computers for a moment, you...
24 Nov 2011 by D K N T H
check these linkshttp://technet.microsoft.com/en-us/library/ff182343(WS.10).aspx[^]http://social.msdn.microsoft.com/Forums/hu-HU/csharpgeneral/thread/e6135568-48cc-44e0-b8c2-ac2964e69db5[^]http://www.msdotnet.org/Certificate-Enrollment-in-C-t342240.html[^]hope it...
11 Jan 2012 by Wonde Tadesse
Since SSL need a series of handshakes between the servers, it might take a while to reach to the actual method call. One issue could be an overhead encryption. This is only for the first time call. However once they acknowledge each other, it will not have significant delay to access the method....
23 Jun 2021 by Ron Anoshi
Hi,There is some code online that is supposed to do what I'm trying to do, but it didn't work for me, trying it in the PowerShell commandline line by line.I am trying to delete a certificate from the CurrentUser\My store, by its' thumbprint:Quote:get-childitem...
20 Nov 2013 by thatraja
Ron Beyer[^] wrote:Unless you are targeting a job that requires it, I would pass. Just because you are .NET "certified", doesn't mean you know what you are doing.Agree strongly.The correct answer is depends.It's a FAQ in Codeproject. Please browse here for previous answers(regarding...
10 Jan 2016 by boynevs
This topic is a bit old but I created a simple project to read from CRL file. The actual logic to read isn't mine but I'ved made it easy to expose the important property of the CRL.janmchan/CrlCsReader · GitHub[^]
15 Feb 2017 by OriginalGriff
This is the wrong place - you need to talk to the admins directly.Please post your problem here: Bugs and Suggestions[^] and the admins will be happy to help.
29 May 2018 by Richard MacCutchan
That is impossible to answer. If you can recoup the cost in a short time, or your employer will pay (some of) the cost then maybe it is worth it. But only you can make that decision.
8 Oct 2018 by Richard MacCutchan
System.Security.Cryptography.X...
20 May 2019 by Kschuler
My coworker figured it out. Turns out our machines had defined a minimum key length that wasn't small enough for the third party that we are trying to hit. We had a min of 2048 and they were expecting 1024. It can be fixed by changing/adding the following registry setting: ...
7 Jan 2020 by phil.o
Use https. You just have to create a valid certificate for the server, once done you will have nothing else to worry about.
30 Jul 2020 by Member 13927114
I have an issue where I keep getting an error No provider registered for 'svn.ssl.server' credentials I am using the same code that works on another SVN server, but a new server I setup can't seem to connect even though I can connect no...
22 Apr 2022 by Matt Pogue
I was reading a great article recently about subdomain enumeration services and it got me thinking about Let's Encrypt and internal domains.
16 Nov 2021 by saxenaabhi6
I got a website working on http and https bothbut mywebsite.com/xyz.svc only works with http not with https.solution tried:added binding below: ...
19 Oct 2011 by RaisKazi
Have a look at similar Question-Answer threads below.http://stackoverflow.com/questions/363285/https-with-wcf-error-could-not-find-base-address-that-matches-scheme-httpshttp://weblogs.asp.net/srkirkland/archive/2008/02/20/wcf-bindings-needed-for-https.aspx
20 Oct 2011 by Mark Salsbery
Also, if hosting on IIS you need to make sure your site is configured for SSL...How to Set Up SSL on IIS 7[^]
24 Nov 2011 by kuti, ger
Hey all,I have a problem with the certificate request/enrollment. I get this error: CertEnroll::CX509Enrollment::_EnrollWizard: The system cannot find the file specified. 0x80070002 (WIN32: 2)I have to create a certificate for another user, so I use basic authentication, because of...
9 Jan 2012 by rhino11301
I have an application that is attempt to validate an LDAP SSL account. When I execute the code to authenticate the LDAP SSL connection directly through the application, it works. However, when the ValidateLDAP connection method is in the business rules and executed through the webservice - it...
10 Jan 2012 by rhino11301
Found the solution after additional searching. It was a permissions problem but not something that could be resolved through a UI tool.http://support.microsoft.com/kb/901183Installing the certificate in the Local store is the key.Thanks!
1 Apr 2012 by chetan.parekh12
What if the datalen is more? i study a datapacket as per http://msdn.microsoft.com/en-us/library/cc240519%28v=prot.10%29.aspx[^] .. following are my bytes.- serverCertBytes {byte[376]} byte[] 1,0,0,0,-- dwVersion1,0,0,0,-- dwSigAlgId1,0,0,0,--...
3 Apr 2012 by bafled in baltimore
Whoa, I do apologize, I thought that this had been deleted. This was my first post before I spent the morning researching on this website and learning protocol. I also have some remote server issues and what was posted is not exactly what I wrote.That being said, I am perhaps a novice and...
18 May 2012 by rahuldas14
I am using this code:void check_cert(SSL* ssl){//ssl initiationSSL_library_init();SSL_load_error_strings();const SSL_METHOD *meth;meth = SSLv3_method();SSL_CTX *ctx;SSL *_ssl;ctx = SSL_CTX_new(meth);int result = 0;//getting the CA certificateresult =...
26 Aug 2012 by Donez
First this is my first question here at codeproject so i hope i find good answers that satisfies my needs. Below you will my problem exactly●How my program works1- TCP Listener [Server]2- TCP Client [Client]During Account Login:1- C > S : Username&Password [Encrypted using...
26 Aug 2012 by nitin bhoyate
Dear According to my opinion for more security you should buy SSLCertificate from any provider..though this might help you...http://dotnet.sys-con.com/node/113335[^]
15 Oct 2012 by buzzluck68
This might not be possible, but I figured I would ask anyways. I have an Excel workbook that runs calculations for our customers (they want Excel and not an EXE), and since the calculations are very long and tedious, they are only possible as macro functions.I have used selfcert to create a...
15 Oct 2012 by lewax00
You can add a certificate fairly easily in .Net, see this page[^] for an example.
29 Oct 2012 by joshrduncan2012
Hi everyone,I am looking for suggestions from anyone regarding how to acquire digital signature certificates. What is the most popular place to acquire them? Are there any that can be free or do you have to purchase them? I'm about to deploy my first Windows Forms project and I'm new to...
29 Oct 2012 by Sergey Alexandrovich Kryukov
Please see:http://en.wikipedia.org/wiki/Certificate_authority#Providers[^].Please read the whole article to get more understanding of the technology, purpose and available options. As one option, consider making a self-signed certificate, which you can create, say, using...
30 Oct 2012 by Rohith Gopi
Hi,I got a code for creating self signed certificates, In that while calling a function i am unable to specify the certificate name because i dont know how to give that.Public Shared Function CreateSelfSignCertificate(ByVal distinguishedName As X500DistinguishedName, ByVal startDate As...
2 Nov 2012 by CafedeJamaica
I had a problem with the service point manager where the certificate was not trusted on the server that I tried to access.
12 Nov 2012 by G8nie
Hello !I have developed a little Word 2010 extension using VSTO.The issue is that a new build where I have only changed a few lines of code, installation on a computer yields a certificate error.Computer A is a Windows 7, office 2010, a lot of other programs.Computer B is my...
5 Dec 2012 by Gramulos
Hi,I need to get data from crl file: Valid from 02.11.2012, Next update 02.01.2013. How to get this information from crl file?Here is some class WinCrypt32public static class WinCrypt32 { #region APIs [DllImport("CRYPT32.DLL", EntryPoint =...
5 Dec 2012 by manoranjan
You can use CryptQueryObject to get an object of type CRL_CONTEXT. This has pCrlInfo member (CRL_INFO structure), which contains the info you are looking for.However, you may find it easier to use CertCreateCRLContext API. But you need to add it in the above WinCrypt32 class.See MSDN for...
14 Jan 2013 by CafedeJamaica
I am getting and error that the "safe handle has been closed" when my code is running.I have a code block in my function with a "using" statement and on some of the variables I get the exception that the variable has been disposed.When I call the function the first time it runs fine but...
14 Jan 2013 by Tharaka MTR
Yes, I'm agreed with a comment, shared desen't contains enough information. I tried to simulate this, but my code works fine.I guess, the error you mentioned is occurred with var pkCert = _CertFile.PublicKey.Key;using(var rsaCryptoServiceProvider = (RSACryptoServiceProvider)...
18 Jan 2013 by OlDevel
I created a self-hosted WCF service and client on 2 different development machines on a LAN, and used basicHttpBinding in order to test connectivity and functionality. The tests were successful.My goal is to use wsHttpBinding with TransportWithMessageCredential security, and...
13 Feb 2013 by MitchG92_24
Hi All,I am creating an application using Visual Studio 2012, this application will eventually be distributed via SCCM to others within my business. The only problem i am having is with the certificate. When i create an app package it is signed with an automatically generated...
8 Apr 2013 by sumana_sristy
In development level I want to add feature green address bar in SSL certificate.
9 Apr 2013 by Zoltán Zörgő
"green address bar" is not a programming feature. If you buy a proper level of SSL certificate, you get the green bar by default. You don't have to, can't do anything more about this.Have a look here: http://www.digicert.com/ssl-support/code-to-enable-green-bar.htm[^][Update]"Green...
25 Apr 2013 by Member 9666734
Well, the above was basically correct. I just needed to tweak how it found the certificate (by thumbprint instead of by name) and it worked perfectly.
29 Apr 2013 by Member 7789239
hi I host one JSP website on server e.g.("https:\\test.com\test.jsp")I need read server variable "CLIENT_CERT_AUTH" of HttpServletRequest.if CLIENT_CERT_AUTH is valid then allow to user view website otherwise reject the request.I developed windows base application(.Net) and use...
24 Jun 2013 by RahulVitthalPatil
Hi All,I need to know whats the significance of IsChainIncluded property in certificate reference.As per below msdn blog http://msdn.microsoft.com/en-us/library/ms731383.aspxIsChainIncluded A Boolean value that specifies if the validation is done using a certificate chain.I...
24 Jun 2013 by Kschuler
I'm no expert in certificates, but one of google[^]'s first results is the MSDN entry[^] for it. It says isChainIncluded is "A Boolean value that specifies if the validation is done using a certificate chain."I wasn't sure what exactly they meant by certificate chain. So I googled[^] that...
4 Jul 2013 by quwenchao
using System;using System.ComponentModel;using System.Runtime.InteropServices;using System.Security.Cryptography.Pkcs;namespace MyNamespace.Win32{ static class WinCrypt { [StructLayout(LayoutKind.Sequential)] public struct BLOB { ...
12 Jul 2013 by m.salsal
Hi,I am trying to add certificates into a certificate store for current logged in user. All these must be done under a service (run with LocalSystem account). The problem I faced is that (although debugged the service source code successfully) when I check the certificate store using MMC...
14 Jul 2013 by KarstenK
A service shouldnt install certs. That should do some installer.check the return codes of the api and install the certs with user creds.Test some code which is executed with user or admin creds :-O
27 Jul 2013 by H-M-Kais
Hello,I am trying (unseccessfully) for few days to find a good and complete example to get the certificates stored in a smartcatrd. I found a lot of little and not complete examples but not the wished answer.Can any one help?
22 Aug 2013 by Anh Nguyen Trong
Go here and try thishttp://www.examcollection.com/microsoft_exams.html[^]you can see all candidate post the expriences when take exam. (pass or fail)
3 Sep 2013 by ProgrammerX1
I am having a problem parsing out this xml file using XmlElement, the proposed solutions online suggests work-arounds by referencing SAML methods but that does not work for my xml. Any ideas on how to get the XmlElement of SignatureValue? current error is "Malformed element Signature" at line:...
29 Aug 2013 by syna syna
http://www.netsqlinterviewquestions.com/questions/89_Practice_Exam_70-515TS-Web-Applications-Development-with-Microsoft-NET-Framework-4-Paper-2.aspx?qID=6542&PaperID=89http://www.aiotestking.com/microsoft/category/exam-70-515-ts-web-applications-development-with-microsoft-net-framework-4/
3 Sep 2013 by idenizeni
Your question's XML is malformed. You need to fix your XML.These lines are malformed... The above should probably be... These lines are malformed...
11 Sep 2013 by gouravkaila
Hello mentors,Need some urgent help. I am quite new to Securities in Webservices.I got a requirement to add message signing while interacting with a 3rd party web service.Want to add SOAP header with few attributes.I am using x509 certificate handshaking till now. The requirement...
11 Sep 2013 by phil.o
Maybe the following link could be helpful:Exporting a Certificate as BASE-64 encoded .cer[^]
12 Sep 2013 by darora85
Hello Friends,I am in a little bit trouble. My requirements is I have two different certificates(one for Message, second for transport) from gateway. Now I want to know how can I use these two separate certificate in my application. I have used this code for setting the certificate in case...
1 Oct 2013 by Yesudasan Moses
Hi friends,I am trying to install my outlook addin from internet.But it shows error that "Publisher is not verified"How can I get rid of this? How can I obtain a certification for my addin ?Can anyone please tell me the signing process of Outlook Addin ?Does it cost money?Thanks
17 Oct 2013 by koll Zhu
i want to intall a .cer file in both the Trusted publisher and the Trusted Root Certification Authorities certificate store.i found some material in msdn. i call "CertOpenStore" to open a specific store location and call "CertAddCertificateContextToStore" to install .cer file into store.to...
24 Oct 2013 by Member 10358378
$Certs = get-childitem cert:"CurrentUser\My"$Certs | %{Remove-Item -path $_.PSPath -recurse -Force}
20 Nov 2013 by PBGuy
Hi all,I am asp.net developer with 1.2 years of experience . I dealt with web applications mostly.I am keen to know about the microsoft certification program. I have visited the microsoft learning, mcp sites, but I was unable to find out, which certification I need to start...
20 Nov 2013 by Nicholas Marty
There are MTA as an entry programhttp://www.microsoft.com/learning/en-us/mta-certification.aspx[^]or the MCTShttp://www.microsoft.com/learning/en-us/mcts-certification.aspx[^]Web Application would be http://www.microsoft.com/learning/en-us/exam-70-515.aspx[^]MCTS (Microsoft...
20 Nov 2013 by Gitanjali Singh
I will suggest for http://www.microsoft.com/learning/en-us/exam-70-515.aspx[^]
26 Nov 2013 by BerkArslan
Well, it's a bit late but establishSecurityContext="true" might be the solution.
19 Feb 2014 by iMike1985
I want to show that an X509 certificate doesn't verify with its issuer (I mean verifying the signature would fail in some reason). In this case, it is obvious that flipping, adding, or any other operation on one bit or byte of the certificate itself will make it invalid while verification...
22 Feb 2014 by Ahmad Shatnawi
Mr. Mike, all what you have to do is to get the row data DER-encoded certificate information (TBS part) and you can extract it as belowURL url = new URL("https://www.google.com/");HttpsURLConnection con = (HttpsURLConnection) url.openConnection();con.connect();Certificate userCert[] =...
23 Feb 2014 by rvanb
i was having difficulty getting this to work in a much larger project. so i put together the most simplistic bare bones WCF Service and Windows Client apps to test it out on. Still no success. This works with no issues if using clientCredentialType=Windows. What i am attempting to do:...
3 Apr 2014 by Member 10722050
Is it possible to call webservice with self signed certificate from Microsoft Dynamics CRM 2013 Online - plugin? Or do I have to use certificate from third-party certificate authority at server side? I'm using Soap with https.
3 Apr 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
See blog Calling external Web Service from a CRM 2011 Plug-in[^] by my friend Dibyasingh Tripathy.
6 Jul 2014 by CHill60
You need to talk to the guys at FatCow ... they do have a knowledge base .. try this http://www.fatcow.com/knowledgebase/read_article.bml?kbid=6288[^] for starters or try http://www.fatcow.com/knowledgebase/beta/[^] if there is not enough info on the first link
24 Jul 2014 by cwcwilson
I have a web-service and a client(web-service) both developed in c#.I have managed to successfully get WSE 3.0 to use mutual x.509 certificates to sign and encrypt my messages.I have also managed to successfully get WSE 3.0 to carry out user authentication via UsernameTokens.The problem...
25 Aug 2014 by EduChapow
Hey guys,My WCF Service does not work. I received this message on 'ServiceModel Audit':"Message authentication failed.(...)WebException:The underlying connection was closed:Could not establish trust relationship for the SSL/TLS secure channel. --->AuthenticationException: The...
9 Sep 2014 by jcaceres121
(sorry for my english)Hello. Firstly, I have to say that I'm new in Web development. I'm learning by myself thanks to the information I find on the Internet.I'm developing a JSF application with Eclipse, JSF 2, Tomcat 7 and primefaces 5. I'm quite happy with my progression, but I'm stopped...
17 Oct 2014 by Member 11160625
How do I make calls with methods get, post and put it to a page with custom https certificate on Windows phone 8.1?With the normal procedure does not work gives me a 404 response.In Visual express 2013 I can't get the X509Certificate class that I use in a java/android.Thanks.
17 Dec 2014 by gsinghania2009
I want to encrypt a column of a table in production. For that I have the script as below.But I am confused if I should use certificate to encrypt the symmetric key or a Password.As certificate will involve some cost in maintaining it.CREATE SYMMETRIC KEY XYZConfigTableKeyWITH ALGORITHM =...
20 Dec 2014 by Member 11270845
Dear All,I am developing a web application in .net that needs to serve clientes using their X509 certificates . My webapp needs to call remote webservices from another provider (government servers) that uses the x509 authentication.I already developed and tested the page using a...
2 Jan 2015 by Member 11270845
Looks like its not possible. http://stackoverflow.com/questions/14650008/intercepting-and-forwarding-client-certificate-to-webserviceWould be glad if anyone knows anything in contrary.Thanks,
23 Jan 2015 by Member 11270845
Anyone knows of any equivalent to ASP.NET X509Certificate2UI in JAVA?Need to develop a java applet that needs to access the local windows certificates store.Thanks,
23 Jan 2015 by Member 11270845
Found it - its KeyStore!!! code below.import java.security.KeyStore;import java.security.cert.X509Certificate;import java.text.SimpleDateFormat;import java.util.Enumeration;try { KeyStore ks = KeyStore.getInstance("Windows-MY" ); ks.load(null,null);...
13 Feb 2015 by lukeer
Hi experts,has anyone ever successfully signed a driver package?I have one here with altered .inf file to reflect our customer's company name with its unique USB PID (leaving chip producer's VID untouched), which messes up the driver package signing for installation.So I guess that I...
20 Feb 2015 by theskiguy
I am pretty new with the dealing with certificates so please bear with me. I have a certificate that I created via MakeCert a while ago that I use when I deploy my VB.net apps via click once. These apps are used by close to 50 people within my company. When I created the certificate, I used...
26 Mar 2015 by llyno
Am trying to send 4 certificates while making a web service call using the but keep getting the error The request was aborted: Could not create SSL/TLS secure channel. Dim req As HttpWebRequest = HttpWebRequest.CreateDefault(New System.Uri(cred.endpoint)) Dim root As...
22 Jun 2015 by Christopher Fernandes
I have purchased an SSL certificate from Godaddy for a domain that is hosted on a Apache server with php and mysql & wordpress for blogs. The webiste already had certificates which just expired and which i have just renewed from Godaddy. Do i need to backup the old expired certificates...
24 Jun 2015 by mukul trivedi
Getting below mentioned error while implementing WCF certificate authenticationSecure channel cannot be opened because security negotiation with the remote endpoint has failed. This may be due to absent or incorrectly specified EndpointIdentity in the EndpointAddress used to create the...
27 Jun 2015 by dev shobhit
I am facing an issue while trying to consume a WCF web service which requires mutual authentication and message signing using X509 certificate. I have already implemented mutual authentication using X509 certificate, but I am facing an issue while trying to implement message signing. I have...
1 Jul 2015 by Simplyvaibh
HI,In Client config,Use machine/server full name instead of localhost and remove identity tag. binding="wsHttpBinding" bindingConfiguration="WSHTTP_IService1" contract="IService1" name="WSHTTP_IService1"> TIA
14 Jul 2015 by OriginalGriff
Then start with google: Public key in DER format[^]And read up on what this entails.If you still don't know what you need to provide, then contact either your line manager, or the third party and ask relevant questions - and you should know which questions they are once you have read up on...
14 Jul 2015 by Member 11133305
Try "TrustedRoot" instead of "trust"
19 Oct 2015 by JuanRoas
We have a Web Forms application made with Activix and itextsharp.dll, framework 4.5.1, signing a PDF document when squeegee the application on my machine works or application runs on the server and access the server remotely also works, however when I publish it Windows Server and access the...
28 Oct 2015 by Sergey Alexandrovich Kryukov
And what's so wonderful here? Your redirection of http:// has nothing to do with https://; you can consider all HTTPS pages as a separate independent Web site. For redirection and other aspects of setup, address to the documentation on your HTTP server, hosting software or ask your hosting...