Egirna Technologies Support Forum

How to show ProxyEG virtual appliance SSL CA

Hello everybody,
this is how to show the ProxyEG virtual appliance SSL certificate authority file to import it into your system or browser, to be able to use HTTPS proxy.

After importing and starting your virtual machine, login using proxyeg as default username and password
(PS: password will not appear)
Login to ProxyEG

Then you should type ip addr to show your interfaces ip addresses
Write down the IP address of interface eth1 to use it to connect via SSH
eth1 ip address shown a in red box

You will need to login to the machine via SSH, to do this, you will need to use PuTTY or any other SSH client you prefer.
Type your IP address and click Open

PuTTY SSH client configuration
then click Accept if you got a similar dialog

Accept SSH key dialog
write the user and the username and the password, by default, both are proxyeg
SSH login

Copy the following command to command line to extract the certificate to a separate file

 sudo awk '/BEGIN CERTIFICATE/,/END CERTIFICATE/' /etc/squid/squid.pem | tee ~/squid-ca.pem

You should see a similar output if every thing went well

-----BEGIN CERTIFICATE-----
MIIDxTCCAq2gAwIBAgIUcXWIoSjXGl0X8NlDh0pgs2Jk/GgwDQYJKoZIhvcNAQEL
BQAwcjELMAkGA1UEBhMCRUcxDjAMBgNVBAgMBUNhaXJvMRcwFQYDVQQHDA42dGgg
b2Ygb2N0b2JlcjEQMA4GA1UECgwHUHJveHlFRzEKMAgGA1UECwwBLTEKMAgGA1UE
AwwBLTEQMA4GCSqGSIb3DQEJARYBLTAeFw0xOTExMDcxNDQ3NThaFw0yOTExMDQx
NDQ3NThaMHIxCzAJBgNVBAYTAkVHMQ4wDAYDVQQIDAVDYWlybzEXMBUGA1UEBwwO
NnRoIG9mIG9jdG9iZXIxEDAOBgNVBAoMB1Byb3h5RUcxCjAIBgNVBAsMAS0xCjAI
BgNVBAMMAS0xEDAOBgkqhkiG9w0BCQEWAS0wggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQC9Pi4YNI7gXAsVI2wuST25zCVe7JpwAeoCBzaRQ39icVxZC3Wt
qRNK6f2Mz8qqul85Hcezqz5VVEWTjuvTAeK7lPndZDmKvAoUAkVI90sZ0tIyXaPY
q1bpVS96klpgY7Uh/VvujFFrEsd6AGNblWi/tNi1qZvO+r6FWWnBQOH3PsbivBus
WtOXFuRRIJ9lt4l2TUkgSY52EROwOt3UoH7dlBXPIIJkrjoPd8QoeKpbQX4v4U+R
BhAzk5SZ+9HSWVkF1feod9axtNOJR0Z1Cmdm4Snj+jySjifi+iDYjyac5ky5RSEv
Ossg4wTW2XYI9bxiCei5J6Np+bY6yiap5f77AgMBAAGjUzBRMB0GA1UdDgQWBBRW
MegKBvALHzQ7U5cMg3EhkiVTZzAfBgNVHSMEGDAWgBRWMegKBvALHzQ7U5cMg3Eh
kiVTZzAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQB5nJt4mz/F
eXrs8g64+cag0SGPHM8txBiL3JIygjnhGvdMNRKz78evTyMwUFapwyJ8jlxXAKnl
MaSglUlslvTbsKUy6Nxy2cWLdcDMtMo8jaMoqdZmMVeh61Wp7yMKuKXBp5qaOcXm
MpLjxIKVcNAHyHtCFFPO5rFI2MzCNO9x3c0JouNCK3dQyapBbosd/wP55myuUkCd
yfXcUekTE3YEZHKaEbGPEWHFlC3itOqEsfEzXZOOClq60vEaOmDhnrqBUM1wdAHT
V8wzYn9ntv2dh33phcClrH40ofBYp1jZeT3lH18Kr2Ja8TNCclXV1Uv7F9U2Gfqw
yFRPZ0iX08t4
-----END CERTIFICATE-----

If your ssh client doesn’t support copy you can copy the file using SFTP client, FileZilla supports SFTP.
Use your ProxyEG Virtual Appliance IP address, the same login credentials as SSH, and port 22.
Choose your destination download folder from the local filesystem pane, then double click squid-ca.pem from the remote file pane
Filezilla download pocedure

Now you downloaded the Certificate Authority file

You can now import it into your system or browser and trust it to be able to use it with the Proxy

Feel free to ask related questions in comments