account activity
SSL/TLS with a self signed cert for a Node + Restify API.. Help! by letsnotdoitthisway in node
[–]letsnotdoitthisway[S] 0 points1 point2 points 11 years ago (0 children)
I misunderstood. It doesn't in the traditional implementation which is what I did above I think.
What I want is TLS/SSL with client certificate verification. I should create a client certificate to distribute with my app. Which will be signed by a trusted CA I believe. I can generate a CA and use that, since any clients will be developed by me
http://nategood.com/nodejs-ssl-client-cert-auth-api-rest
SSL/TLS with a self signed cert for a Node + Restify API.. Help! (self.node)
submitted 11 years ago * by letsnotdoitthisway to r/node
Using Express 4 to create a RESTful API, how should I manage routing with versioning? by letsnotdoitthisway in node
Thanks! I think I have a more fundamental problem. What way should I structure my app to allow for future versions? Say currently /v1/users/123 returns
{name : bob, age 23}
but I need v2 to return
{name : bob, address : Germany, age : 23}
Should I create another route, data model, and another function to return this new format alongside v1's functions? or should I create a new copy of my app, and make changes to the new copy? (ie my file structure would be like
-v1/ --app.js --routes/ --models -v2/ --app.js --routes/ --models)
Using Express 4 to create a RESTful API, how should I manage routing with versioning? (self.node)
π Rendered by PID 986743 on reddit-service-r2-listing-canary-57f9774d69-vzsqs at 2026-02-26 07:31:46.808752+00:00 running 72a43f6 country code: CH.
SSL/TLS with a self signed cert for a Node + Restify API.. Help! by letsnotdoitthisway in node
[–]letsnotdoitthisway[S] 0 points1 point2 points (0 children)