Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating SXG certificate, SSL isn't working #677

Open
Shuvo-Hoque opened this issue Nov 1, 2022 · 1 comment
Open

After updating SXG certificate, SSL isn't working #677

Shuvo-Hoque opened this issue Nov 1, 2022 · 1 comment

Comments

@Shuvo-Hoque
Copy link

Shuvo-Hoque commented Nov 1, 2022

I issued my SXG certificate from Google CA following this : https://support.google.com/webmasters/thread/181346937?hl=en&msgid=185724076 and https://support.google.com/webmasters/thread/181346937?hl=en&msgid=182535286

Then, I deployed this certificate following the doc of amppackager. After that, when I was requesting the url, I am getting this error:

SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream, client: 2.2.2.2, server: example.com, request: "GET / HTTP/1.0", upstream: "https://1.1.1.1:443/priv/doc/https:something.example.com/", host: "example.com"

This is my amppkg.tofl file looks like :

Port = 443
 LocalOnly = false
 CertFile = 'qa/my/cert.pem'
 KeyFile = 'qa/my/priv.key'
 OCSPCache = '/tmp/amppkg-ocsp'

 [[URLSet]]
   [URLSet.Sign]
     Domain = "something.example.com"

Would you guys help me why I am getting this error and how to fix this?

@banaag
Copy link
Collaborator

banaag commented Nov 1, 2022

Hi Shuvo-Hoque, thanks for using amppackager and reporting this issue. I wanted to confirm that you are not using "something.example.com" as your domain but rather your actual domain. The error message looks like it's trying to contact example.com. Kindly confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants