titanium-web-proxy icon indicating copy to clipboard operation
titanium-web-proxy copied to clipboard

Is it possible to save the certificate with code?

Open yuvalpikel opened this issue 6 years ago • 10 comments

Hi

Is it possible to load the certificate using code ? for the first time the app is running it asked if i am sure that i want to install the certificate

Regards

yuvalpikel avatar Jan 23 '20 05:01 yuvalpikel

Yes, of course it is possible.. jsut set in in the certifiatemanager.

honfika avatar Jan 23 '20 06:01 honfika

Thanks.. In which methods / properties should i use?

בתאריך יום ה׳, 23 בינו' 2020, 8:18, מאת honfika ‏[email protected]:

Yes, of course it is possible.. jsut set in in the certifiatemanager.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/justcoding121/Titanium-Web-Proxy/issues/737?email_source=notifications&email_token=AHWDTASUX762PLWXL6G6JR3Q7EZCNA5CNFSM4KKQ4HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJWEZYY#issuecomment-577522915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWDTAV3USCMZB7C463DAMDQ7EZCNANCNFSM4KKQ4HYA .

yuvalpikel avatar Jan 23 '20 06:01 yuvalpikel

Hi .. I used : proxyServer.CertificateManager.LoadRootCertificate(@"C:\temp1\rootCert1.pfx", ""); But it still shows the message .. any ideas?

yuvalpikel avatar Jan 23 '20 09:01 yuvalpikel

is that certificate already trusted on your machine?

generating a new certificate is not showing any message... it is needed for the trust... so if you load a certificate which is untused, it still needs to show that message.

honfika avatar Jan 23 '20 09:01 honfika

Understood.. For which site the certificate should be created by CA?

בתאריך יום ה׳, 23 בינו' 2020, 11:26, מאת honfika ‏<[email protected]

:

is that certificate already trusted on your machine?

generating a new certificate is not showing any message... it is needed for the trust... so if you load a certificate which is untused, it still needs to show that message.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/justcoding121/Titanium-Web-Proxy/issues/737?email_source=notifications&email_token=AHWDTAX2QIBR5XGEWEF3SRTQ7FPDJA5CNFSM4KKQ4HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJWW7ZI#issuecomment-577597413, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWDTAXK5K7LPDVAAHQVIMDQ7FPDJANCNFSM4KKQ4HYA .

yuvalpikel avatar Jan 23 '20 09:01 yuvalpikel

I don't understand your question. Certificate is needed if you want to dertypt the https traffic

honfika avatar Jan 23 '20 09:01 honfika

I understood that .. but what are the parameters that i should use in the certificate? If i need a trusted cert is should be issued by CA right?

On Thu, Jan 23, 2020 at 11:47 AM honfika [email protected] wrote:

I don't understand your question. Certificate is needed if you want to dertypt the https traffic

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/justcoding121/Titanium-Web-Proxy/issues/737?email_source=notifications&email_token=AHWDTASLQY7QKLSWKSTNF3DQ7FRSBA5CNFSM4KKQ4HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJWY4DY#issuecomment-577605135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWDTAUOULOPKHLB7RM6L5TQ7FRSBANCNFSM4KKQ4HYA .

yuvalpikel avatar Jan 23 '20 09:01 yuvalpikel

Sorry, I don't know this... you should ask your infrastructure administrator.

honfika avatar Jan 23 '20 10:01 honfika

Thanks... But the code is a i'v wrote?

Yuval

On Thu, Jan 23, 2020 at 12:01 PM honfika [email protected] wrote:

Sorry, I don't know this... you should ask your infrastructure administrator.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/justcoding121/Titanium-Web-Proxy/issues/737?email_source=notifications&email_token=AHWDTATXTSZAWFQH52WU4BDQ7FTHDA5CNFSM4KKQ4HYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJW2FJA#issuecomment-577610404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWDTAVMYVSZVLTY7I2KMQDQ7FTHDANCNFSM4KKQ4HYA .

yuvalpikel avatar Jan 23 '20 10:01 yuvalpikel

LoadRootCertificate? Yes

honfika avatar Jan 23 '20 10:01 honfika