FinalsClub / karmaworld

KarmaNotes.org v3.0
GNU Affero General Public License v3.0
7 stars 6 forks source link

virtual machine doesn't do testing well without a cert #318

Closed btbonval closed 10 years ago

btbonval commented 10 years ago

I decided to pull the recent changes while working on other tickets. I can't test #316 until I have signed in. I can't be signed in because I don't have a valid cert on the VM, so as soon as I log in, it all breaks.

Might as well automate building a self signed cert for localhost into the VM to reduce the need for everyone to make these certs. At least reduce the need for everyone who uses the VM.

btbonval commented 10 years ago

Need to forward yet another port to support both HTTP and HTTPS out of the virtual machine.

btbonval commented 10 years ago

Destroying VM. Loading fresh VM with two poked holes, self-signed cert, and nginx configured for SSL. So that'll be another 20 minutes or so. yay waiting.

btbonval commented 10 years ago

Updated README to acknowledge signed SSL cert is a third party requirement for hosting a server and note the port changes. 6659 is now SSL, so https://localhost:6659. Unencrypted will be http://localhost:66590 now. I'm tempted to simply take away unencrypted availability from the VM to streamline things. switching between the modes will absolutely fail due to nonstandard ports.

btbonval commented 10 years ago

Mixed loading of CSS. I don't get it, I thought this was fixed.

btbonval commented 10 years ago

agggg secret files. Modified on beta, modified on prod, modified on VM, but I forgot to modify it on my local system so that the newest VM deploy got dumb about it again. There's nothing secret about S3_URL itself until after the "secret" bucket has been inserted. I'm tempted to move that string into prod.py.

btbonval commented 10 years ago

Coo. VM fix worked for SSL at least. New problems have, of course, arisen. But that's another issue for another ticket.

This will close whenever the code is pushed from my system.