{"id":26126256,"url":"https://github.com/freeedy/sslclient","last_synced_at":"2026-04-20T15:32:12.382Z","repository":{"id":144167943,"uuid":"125327249","full_name":"Freeedy/sslClient","owner":"Freeedy","description":"sslClient in C ","archived":false,"fork":false,"pushed_at":"2018-03-16T10:59:59.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-10T17:56:08.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Freeedy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T07:14:52.000Z","updated_at":"2024-09-27T05:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab7b6f80-734b-4bda-acd3-535afe46b0f9","html_url":"https://github.com/Freeedy/sslClient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Freeedy/sslClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freeedy%2FsslClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freeedy%2FsslClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freeedy%2FsslClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freeedy%2FsslClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freeedy","download_url":"https://codeload.github.com/Freeedy/sslClient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freeedy%2FsslClient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32053203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-10T17:48:09.980Z","updated_at":"2026-04-20T15:32:12.364Z","avatar_url":"https://github.com/Freeedy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sslClient\n\nThis sample will be helpfull to  send GET request to the  SSL/TLS secured host . \n\n## Compile\n\ngcc -o sslClient sslclient.c -lssl -lcrypto \n\n## Using example\n```\u003chostname\u003e \u003cport(443 or 8443)\u003e\u003crequestBody\u003e```\n\n\n\nHere is the  sample  request and Response : \n\nRequest : \n```\n./sslClient raw.githubusercontent.com 443 \"/yql/yql-tables/master/yahoo/finance/yahoo.finance.quotes.xml\"\n\n```\n\nResult : \n\n```\n--Successfully made the TCP connection to: raw.githubusercontent.com.\n--Successfully enabled SSL/TLS session to: raw.githubusercontent.com.\n-------------------------Server certificate---------------------------------\nSubject: /C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=www.github.com\nIssuer: /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 High Assurance Server CA\n-------------------------Signature------------------------------\nSignature Algorithm:\nsha256WithRSAEncryption\n\nSignature Length:\n256 Bytes\n\nSignature Data:\n99:7e:d6:2f:ce:1b:a6:15:f5:15:b3:ef:f1:30:c1:1f:54:10:\n92:a4:8c:43:c0:bc:bd:a5:0d:00:53:e2:42:c1:85:6f:e5:a7:\na9:41:99:4b:46:11:5a:dd:fd:e8:27:69:97:b6:3c:a6:0e:2a:\n30:db:33:53:be:83:b0:aa:08:89:04:7e:66:35:e5:5c:b3:2c:\n28:7f:a7:b1:e5:27:79:6d:81:26:89:ea:a0:55:51:70:10:cb:\neb:43:59:6b:aa:52:b4:46:fd:d2:ff:89:16:8a:45:da:0e:bf:\n87:0d:53:ef:83:24:c5:17:ad:12:63:40:74:80:4d:bd:a4:c9:\ndd:74:d9:df:1c:61:02:0a:71:b0:93:24:2f:2d:a9:20:7a:43:\n86:44:11:58:8a:45:9b:d7:5c:e2:66:eb:a6:c6:f1:7c:a7:dc:\ndd:af:27:89:39:f7:c1:9a:99:c8:7f:34:7a:d9:39:73:83:cb:\n73:75:bc:16:b0:4e:a1:49:2d:09:12:8d:4e:3e:63:ff:f0:88:\n71:df:50:46:2b:a5:38:3d:db:38:08:97:29:64:de:cb:c7:eb:\n88:70:59:dd:62:dc:16:76:2d:30:6a:e3:a3:2f:40:a5:36:0f:\ncc:05:76:d5:e0:6e:04:40:3d:6a:21:5f:bf:4e:a3:a8:6c:d0:\n98:21:b9:bd\n-------------------------------------------------------\n-------------------------Public-Key------------------------------\n2048 bit RSA Key\n\n-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxtPxijvPpEXyy3Bn10Wf\noWmKTW753Uv2PusDNmalx/7mqFqi5BqK4xWQHQgSpyhedgtWIXWCJGHtgFVck+DB\nAbHiHsE67ewpV1a2l2GpqNCFTU77UsoNVD/xPyx3k+cPX9y8rqjMiZB3xs1zKDYB\nkcoBVrA+iO323YkJmCLEXCO2O7b1twLFWkNwMd7e7nteu2uCMvxNp5Qg22MIn33t\n2egMPfIDU/TcKDfyaty5+s6F3gzh7eIgnqNQN0T/5fpaYkqdx8j21QDsIyF/CfSp\nA5qKLuhluu8xrUbnc0MigX7VThS9PbfxMSQ1cQQfbGdxoQNJTNHxXv+ZTXAxKCju\n5wIDAQAB\n-----END PUBLIC KEY-----\n------------------------------------------------------\n-------------------------End Certificate---------------------------------\n----------------------------------Request-----------------------------------------\nRequest : GET /yql/yql-tables/master/yahoo/finance/yahoo.finance.quotes.xml HTTP/1.1\nHost: raw.githubusercontent.com\nConnection: Close\n\n\n--Connected -\u003eEncryption:  ECDHE-RSA-AES128-GCM-SHA256 \nWrite-Result = 126\n----------------------------end Request---------------------------------\n----------------------------------Response-----------------------------------------\nHTTP/1.1 200 OK\nContent-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox\nStrict-Transport-Security: max-age=31536000\nX-Content-Type-Options: nosniff\nX-Frame-Options: deny\nX-XSS-Protection: 1; mode=block\nETag: \"d097f530622fd29a97cfc1d92219cd7845c4d04b\"\nContent-Type: text/plain; charset=utf-8\nCache-Control: max-age=300\nX-Geo-Block-List:\nX-GitHub-Request-Id: FF56:1131:17C6FF:19A70F:5AABA1F3\nContent-Length: 2853\nAccept-Ranges: bytes\nDate: Fri, 16 Mar 2018 10:53:22 GMT\nVia: 1.1 varnish\nConnection: close\nX-Served-By: cache-hhn1529-HHN\nX-Cache: HIT\nX-Cache-Hits: 1\nX-Timer: S1521197603.902476,VS0,VE1\nVary: Authorization,Accept-Encoding\nAccess-Control-Allow-Origin: *\nX-Fastly-Request-ID: 54da46a06caf5c6a859a7b05054b7702206c464d\nExpires: Fri, 16 Mar 2018 10:58:22 GMT\nSource-Age: 47\n\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\" ?\u003e\n\u003ctable xmlns=\"http://query.yahooapis.com/v1/schema/table.xsd\"\u003e\n\t\u003cmeta\u003e\n\t\t\u003csampleQuery\u003e\n\t\t\tselect * from {table} where symbol in (\"YHOO\",\"AAPL\",\"GOOG\",\"MSFT\")\n\t\t\u003c/sampleQuery\u003e\n\t\u003c/meta\u003e\n\t\u003cbindings\u003e\n\t\t\u003cselect itemPath=\"quotes.quote\" produces=\"XML\"\u003e\n\t\t\t\u003curls\u003e\u003curl\u003ehttp://download.finance.yahoo.com/d/quotes.csv?s={-listjoin|,|symbol}\u003c/url\u003e\u003c/urls\u003e\n\t\t\t\u003cinputs\u003e\n\t\t\t\t\u003ckey id='f' type='xs:string' const='true' default='aa2bb2b3b4cc1c3c4c6c8dd1d2ee1e7e8e9ghjkg1g3g4g5g6ii5j1j3j4j5j6k1k2k4k5ll1l2l3mm2m3m4m5m6m7m8nn4opp1p2p5p6qrr1r2r5r6r7ss1s7t1t7t8vv1v7ww1w4xy' paramType='query' /\u003e\n\t\t\t\t\u003ckey id='symbol' type='xs:string' batchable='true' maxBatchItems='20' paramType='path' required='true'/\u003e\n\t\t\t\u003c/inputs\u003e\n\t\t\t\u003cexecute\u003e\u003c![CDATA[\n\t\t\t\tvar results = y.query(\"select * from csv where url=@url and columns='Ask,AverageDailyVolume,Bid,AskRealtime,BidRealtime,BookValue,Change\u0026PercentChange,Change,Commission,Currency,ChangeRealtime,AfterHoursChangeRealtime,DividendShare,LastTradeDate,TradeDate,EarningsShare,ErrorIndicationreturnedforsymbolchangedinvalid,EPSEstimateCurrentYear,EPSEstimateNextYear,EPSEstimateNextQuarter,DaysLow,DaysHigh,YearLow,YearHigh,HoldingsGainPercent,AnnualizedGain,HoldingsGain,HoldingsGainPercentRealtime,HoldingsGainRealtime,MoreInfo,OrderBookRealtime,MarketCapitalization,MarketCapRealtime,EBITDA,ChangeFromYearLow,PercentChangeFromYearLow,LastTradeRealtimeWithTime,ChangePercentRealtime,ChangeFromYearHigh,PercebtChangeFromYearHigh,LastTradeWithTime,LastTradePriceOnly,HighLimit,LowLimit,DaysRange,DaysRangeRealtime,FiftydayMovingAverage,TwoHundreddayMovingAverage,ChangeFromTwoHundreddayMovingAverage,PercentChangeFromTwoHundreddayMovingAverage,ChangeFromFiftydayMovingAverage,PercentChangeFromFiftydayMovingAverage,Name,Notes,Open,PreviousClose,PricePaid,ChangeinPercent,PriceSales,PriceBook,ExDividendDate,PERatio,DividendPayDate,PERatioRealtime,PEGRatio,PriceEPSEstimate\nCurrentYear,PriceEPSEstimateNextYear,Symbol,SharesOwned,ShortRatio,LastTradeTime,TickerTrend,OneyrTargetPrice,Volume,HoldingsValue,HoldingsValueRealtime,YearRange,DaysValueChange,DaysValueChangeRealtime,StockExchange,DividendYield'\",{url:request.url});\n\t\t\t\tvar quotes = \u003cquotes/\u003e;\n\t\t\t\tvar rows=results.results.row;\n\t\t\t\tfor each (var row in rows) {\n\t\t\t\t\tfor each (var item in row.*) {\n\t\t\t\t\t\tvar elname = item.localName();\n\t\t\t\t\t\tvar txt = item.text().toString();\n\t\t\t\t\t\tif (txt==\"N/A\") txt=\"\"; else if (txt==\"-\") txt=\"\"; else {\n\t\t\t\t\t\t\ttxt = txt.replace(/\"/g, '');\n\t\t\t\t\t\t}\n\t\t\t\t\t\trow[elname]=txt;\n\t\t\t\t\t}\n\t\t\t\t\t//split % change out\n\t\t\t\t\tvar txt = row[\"Change_PercentChange\"].text().toString();\n\t\t\t\t\trow[\"PercentChange\"]=txt.substring(txt.indexOf(\" - \")+2);\t\n\t\t\t\t    quotes.quote += \u003cquote symbol={row.Symbol.text().toString()}\u003e{row.*}\u003c/quote\u003e;\n\t\t\t\t}\n\t\t\t\tresponse.object = quotes;\n      ]]\u003e\u003c/execute\u003e\n\t\t\u003c/select\u003e\n\t\u003c/bindings\u003e\n\u003c/table\u003e\n\n---------------------------------------------------------------------------------------------\nFinished SSL/TLS connection with Host: raw.githubusercontent.com.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeedy%2Fsslclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeedy%2Fsslclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeedy%2Fsslclient/lists"}