Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Szeraax

martin wrote:

This request has been added to the tracker:
https://winscp.net/tracker/1388

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.


It is working great. Please close bug on tracker. Thanks!
martin

This request has been added to the tracker:
https://winscp.net/tracker/1388

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
martin

Thanks for your answer. I'll look into it. I'll contact you once I have anything to test.
Szeraax

martin wrote:

Szeraax wrote:

It looks like using .key and a .cer (but only the Base64 encoded version) worked for me. For operability, the other encoding might be good for WinSCP to read so that people don't have to install a cert and then export from the certstore with the right encoding (like I did).

So what particular format is not working? How do you generate it?


See attached image. The file I had was a DER encoded binary. I have tested and found you can convert the DER binary to Base-64 encoded X.509 (the other option in the picture below) by:

1) Convert to base 64
2) Prepend -----BEGIN CERTIFICATE-----\r\n
3) Append \r\n-----END CERTIFICATE-----\r\n

So if read a file and do the same thing, you should be able to load cert as your code already does from there. If you decide to program this in, I will be happy to test, verify, and report. Also, should you need it, I can send a copy of my DER cert and you can test decoding it.
martin

Szeraax wrote:

It looks like using .key and a .cer (but only the Base64 encoded version) worked for me. For operability, the other encoding might be good for WinSCP to read so that people don't have to install a cert and then export from the certstore with the right encoding (like I did).

So what particular format is not working? How do you generate it?
Szeraax

martin wrote:

Szeraax wrote:

No longer needed. I got my hands on it :)

How did you get it?

I wish that I could specify a .cer (base64, not DER or whatever it is called) and.key file for client certificate. Is that on your plan for the future of client certificates? If not, I'll create a new topic here.

It should be working. Select the .key and WinSCP will look for .cer or .crt with the same base name.


I emailed another user on this forum that received a link from you who made their email address publicly available and then edited the URI to point to the latest build. I was trying to get an automation project done by today >.<

It looks like using .key and a .cer (but only the Base64 encoded version) worked for me. For operability, the other encoding might be good for WinSCP to read so that people don't have to install a cert and then export from the certstore with the right encoding (like I did).
martin

Szeraax wrote:

No longer needed. I got my hands on it :)

How did you get it?

I wish that I could specify a .cer (base64, not DER or whatever it is called) and.key file for client certificate. Is that on your plan for the future of client certificates? If not, I'll create a new topic here.

It should be working. Select the .key and WinSCP will look for .cer or .crt with the same base name.
Szeraax

No longer needed. I got my hands on it :)

I wish that I could specify a .cer (base64, not DER or whatever it is called) and.key file for client certificate. Is that on your plan for the future of client certificates? If not, I'll create a new topic here.
I will note that using openssl to combine those into a .pfx with a -passphrase=xxxx works just great as well, so the 5.8 client functionality is 100% working.

Thanks for the amazing program!
Szeraax

Development build request

I would like a copy of the development version to test out Client Certs. Can I get it as a portable ZIP since this is just for testing? If not, regular installer will work. Thanks!