Certification Problem After Upgrading OpenSSL 1.1.0 to 1.1.1 in Ubuntu 18.04

recently I wanted to upgrade my OpenSSL from version 1.1.0 to 1.1.1. I did it using instructions given in this post. The solution Kevin Bowen gave was perfect, except that now I’m having trouble using wget when accessing https sites. See this example:

$   wget https://www.rfc-editor.org/materials/tutorial76.pdf --2019-03-23 19:39:07--  https://www.rfc-editor.org/materials/tutorial76.pdf Resolving www.rfc-editor.org (www.rfc-editor.org)... 4.31.198.49,001:1900:3001:11::31 Connecting to www.rfc-editor.org (www.rfc-editor.org)|4.31.198.49|:443...  connected. ERROR: cannot verify www.rfc-editor.org's certificate, issued by ‘CN=Starfield Secure Certificate Authority - G2,OU=http://certs.starfieldtech.com/repository/,O=Starfield Technologies\, Inc.,L=Scottsdale,ST=Arizona,C=US’: Self-signed certificate encountered. To connect to www.rfc-editor.org insecurely, use `--no-check-certificate'. 

Note: I have also tries sudo update-ca-certificates -f to update the list of CAs I have locally.

How to retrieve context in SPFx 1.1.0?

Good morning,

I need to create a spfx element to sharepoint 2016. the project dependencies are:

"react": "15.4.2", "react-dom": "15.4.2", "@types/react": "0.14.46", "@types/react-dom": "0.14.18", "@types/react-addons-shallow-compare": "0.14.17", "@types/react-addons-update": "0.14.14", "@types/react-addons-test-utils": "0.14.15", "@microsoft/sp-core-library": "~1.1.0", "@microsoft/sp-webpart-base": "~1.1.0", "@microsoft/sp-lodash-subset": "~1.1.0", "@microsoft/sp-office-ui-fabric-core": "~1.4.0-0", "@types/webpack-env": "1.13.1", "@types/es6-promise": "0.0.33" 

How do I get the pageContext and the httpClient?

Thanks

Upgrade openssl 1.1.0 to 1.1.1 in Ubuntu 18.04

I have been running a production server with ubuntu 18 installed. Recently I found that my web application was not allowed on some of the firewalls installed at the customer location.

I found that my server is communicating at TLSv1.0, TLSv1.1, TLSv1.2 protocols, I assume that the firewall setting is allowing communication with the server on TLSv1.3 protocol only.

As ubuntu 18 is shipped with OpenSSL version 1.1.0, and to make server support TLS v1.3 I have to upgrade OpenSSL to version 1.1.1 which is the latest one.

As this is a production server running nginx server, I don’t want to directly try anything on the server.

root@energy-prod:~# nginx -v nginx version: nginx/1.14.0 (Ubuntu) 

What is the best way to upgrade OpenSSL to v1.1.1 without disturbing any other settings of the server?