GithubHelp home page GithubHelp logo

mobserver's Introduction

#About This is a server providing app download and installation,supporting Android and iOS.A solution for app ota
Https is required,so make sure that having genreated crts.
Thanks for HockeyKit,There are a lot of content to learn from it

#Requirements Python 2.7+
Tornado Module

#Usage 1.set config in config dir,set your ip
2.generate crt files
2.1.生成自己的密钥对:openssl genrsa -out ca.key 1024
2.2.生成证书请求文件,并使刚刚的key来加密CA根证书:openssl req -new -x509 -days 365 -key ca.key -out ca.crt
2.3.生成服务器使用的证书,并用自己的根证书签名:openssl genrsa -out server.key 1024
2.4.生成证书请求文件:openssl req -new -key server.key -out server.csr
2.5.接下来我们需要使用根证书对这个证书进行签名,但是在签名之前,需要做一些准备工作, 我们需要构建这样一个目录结构,在当前目录新建文件夹demoCA, 进入demoCA,在demoCA下创建两个文件index.txt和serial ,以及文件夹newcerts,其中index.txt的内容为空,serial的内容为01。 完成之后
2.6.开始签名:openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key

3.set crts path in main.py
4.copy ca.crt to static dir
5.run the server: python main.py
6.visit https://127.0.0.1/distribution over browser

#Todo 1.add upload api
2.add upload web

mobserver's People

Contributors

sea0801 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.