mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-11-03 22:33:26 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "770dcd33f6ebc5b046a63dc867276b6b39865f8f" and "b47fe37279e4fb7415a0413f4a73792738b50664" have entirely different histories.
		
	
	
		
			770dcd33f6
			...
			b47fe37279
		
	
		
							
								
								
									
										33
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
					@ -14,8 +14,8 @@ Credit to https://github.com/h44z/BitBetter and https://github.com/jakeswenson/B
 | 
				
			||||||
- [Getting Started](#getting-started)
 | 
					- [Getting Started](#getting-started)
 | 
				
			||||||
  - [Dependencies](#dependencies)
 | 
					  - [Dependencies](#dependencies)
 | 
				
			||||||
  - [Setting up BitBetter](#setting-up-bitbetter)
 | 
					  - [Setting up BitBetter](#setting-up-bitbetter)
 | 
				
			||||||
    - [Optional: Manually generating Certificate & Key](#optional-manually-generating-certificate--key)
 | 
					 | 
				
			||||||
  - [Building BitBetter](#building-bitbetter)
 | 
					  - [Building BitBetter](#building-bitbetter)
 | 
				
			||||||
 | 
					    - [Note: Manually generating Certificate & Key](#note-manually-generating-certificate--key)
 | 
				
			||||||
  - [Updating Bitwarden and BitBetter](#updating-bitwarden-and-bitbetter)
 | 
					  - [Updating Bitwarden and BitBetter](#updating-bitwarden-and-bitbetter)
 | 
				
			||||||
  - [Generating Signed Licenses](#generating-signed-licenses)
 | 
					  - [Generating Signed Licenses](#generating-signed-licenses)
 | 
				
			||||||
    - [Note: Alternative Ways to Generate License](#note-alternative-ways-to-generate-license)
 | 
					    - [Note: Alternative Ways to Generate License](#note-alternative-ways-to-generate-license)
 | 
				
			||||||
| 
						 | 
					@ -40,21 +40,6 @@ With your dependencies installed, begin the installation of BitBetter by downloa
 | 
				
			||||||
git clone https://github.com/jakeswenson/BitBetter.git
 | 
					git clone https://github.com/jakeswenson/BitBetter.git
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Optional: Manually generating Certificate & Key
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
If you wish to generate your self-signed cert & key manually, you can run the following commands.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
cd .keys
 | 
					 | 
				
			||||||
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.cert -days 36500 -outform DER -passout pass:test
 | 
					 | 
				
			||||||
openssl x509 -inform DER -in cert.cert -out cert.pem
 | 
					 | 
				
			||||||
openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem -passin pass:test -passout pass:test
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
> Note that the password here must be `test`.<sup>[1](#f1)</sup>
 | 
					 | 
				
			||||||
---
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## Building BitBetter
 | 
					## Building BitBetter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Now that you've set up your build environment, we need to specify which servers to start after the work is done.
 | 
					Now that you've set up your build environment, we need to specify which servers to start after the work is done.
 | 
				
			||||||
| 
						 | 
					@ -98,6 +83,22 @@ If you ran the build script, you can **simply run the license gen in interactive
 | 
				
			||||||
**The license generator will spit out a JSON-formatted license which can then be used within the Bitwarden web front-end to license your user or org!**
 | 
					**The license generator will spit out a JSON-formatted license which can then be used within the Bitwarden web front-end to license your user or org!**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Note: Manually generating Certificate & Key
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					If you wish to generate your self-signed cert & key manually, you can run the following commands.
 | 
				
			||||||
 | 
					Note that you should never have to do this yourself, but can also be triggered by running the generateKeys.[sh|ps1] script.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```bash
 | 
				
			||||||
 | 
					openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.cert -days 36500 -outform DER -passout pass:test
 | 
				
			||||||
 | 
					openssl x509 -inform DER -in cert.cert -out cert.pem
 | 
				
			||||||
 | 
					openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem -passin pass:test -passout pass:test
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> Note that the password here must be `test`.<sup>[2](#f1)</sup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# FAQ: Questions you might have.
 | 
					# FAQ: Questions you might have.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 | 
					FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
 | 
				
			||||||
WORKDIR /bitBetter
 | 
					WORKDIR /bitBetter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . /bitBetter
 | 
					COPY . /bitBetter
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 | 
					FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
 | 
				
			||||||
WORKDIR /licenseGen
 | 
					WORKDIR /licenseGen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY . /licenseGen
 | 
					COPY . /licenseGen
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user