Posts by hess • 113 points
6 posts
-
1
votes1
answer176
viewsA: Additional Repositories List
You need to be root to edit /etc/apt/sources.list.d/additional-repositories.list. Read here to understand more about how edit files as root. And here to understand about file permissions. If you use…
-
1
votes1
answer721
viewsA: Questions about Authentication Token (JWT)
"If I want to leave the maximum expiration time, there are risks to the system security?" There is a risk that someone will be able to "steal" your JWT token. Since the token does not expire, it can…
-
1
votes1
answer504
viewsA: Can SSL Certificate be by IP instead of Domain?
Yes, it is possible. Create a certificate that has the IP address set in the [Subject Alternative Name] attribute (SAN)1. Note that you can add more than one SAN. In the ideal world, all Sans and…
-
0
votes2
answers263
views -
3
votes2
answers4619
viewsA: How do I know if a server is using TLS 1.0 or 1.1?
If the site can be accessed via internet, use the Ssltest. The site will generate a giant report with various information about what the server supports, for example: Protocols Ciphersuites…
-
-1
votes3
answers516
viewsA: Variation of while with scanf
The while will perform while the result of its condition is true (or 1). So, while scanf("%d", &variavelA) && variavelA result in 1. In that case the function scanf will return 1 when an…