Voucher length
-
Hello all,
I'm trying to get my voucher lenght to 6 or 7 characters.
I've searched the forum and there is said:" create a shorter private key!!!!!!!"
**"openssl genrsa 31 > key.private"
The vouchers is now with 7 characters length!**
How do i create this?
Can someone please help me????? Step by step.
Thx
-
Did you read both pages of http://forum.pfsense.org/index.php/topic,41658.0.html? (to reply 20)
If so, where do you get lost?
-
1. openssl genrsa -out private.key 31
2. openssl rsa -in private.key -out public.key -pubout -outform PEM
You copy-past each result key in pfsense voucher tab.
-
yes i did read all of that.
i got lost how to make the shorter key.
do i need another program to make the key?
my hotspot is running great but the voucher codes are 20 characters.
that irritates my guests -
-
tried that still 20 characters.
-
20 chars ouch… Are you sure your key is only 31 bits long ?
-
That's the problem.
I think i have the standerd key of 32 bit.
I need to get the 31 bit key.
So how do i get a 31 bit key?Thx for helping me!!!
-
So how do i get a 31 bit key?
That brings up back to your initial post. A challenge of replying to forum entries is to guess the appropriate level of detail for new participants.
I guess you don't know what to do with```
openssl genrsa 31 > key.privateIt is a pfSense shell command to write a 31 bit key into the file key.private. Do you know how to execute a pfSense shell command? If I have guessed incorrectly then you will need to explain in more detail the difficulty you are having in following the instructions in the post I previously linked to.
-
Thx you all for the help.
I've got it working.
I create a 31 bit key with opensslI found a youtube tutorial: http://www.youtube.com/watch?v=aO0KxzigeLY&feature=endscreen&NR=1
Part 1 and 2 did it for me. i copied:
1. openssl genrsa -out private.key 31
2. openssl rsa -in private.key -out public.key -pubout -outform PEM
It took me a while to figure this out but it works.
I only copied and pasted the key's and left everything as it was.
Result: 6 chars
Thx